Skip to content

viktigpetterr/bellan

Repository files navigation

Bellan

License: MIT GitHub Workflow Status codecov

Installation

  $ git clone https://github.com/viktigpetterr/bellan.git
  $ cd bellan
  $ composer install

How to add a restaurant

  • Create a restaurant class that extends Restaurant.php in src/Restaurant.
  • Implement the functions parse() and __toString().
  • Create a test class that extends RestaurantTest.php in tests/Restaurant.
  • Implement the test functions testParse() and testToString(). Add a static test file in tests/static if needed.

Run tests

$  composer test