This is the code used for the talk Code me an HR at PHPTour 2017.
Slide: here Video: here but in french, sorry
Framework: Symfony 3.4 ORM: Doctrine 2.6 Command Bus: SimpleBus 3.0
PhpSpec is used to design the code and Behat to "test" the UI.
vendor/bin/behat
vendor/bin/phpspec run
You should have a look to FriendOfBehat organisation. There are lot of interesting Behat extensions.
bin/console server:run
bin/console hautelook:fixtures:load
Go to http://127.0.0.1:8080 !
Rewrite and organize tests
- We need to introduce integration and acceptance tests.
- We must not use Behat to test the UI.