Skip to content

Latest commit

 

History

History
47 lines (32 loc) · 1.4 KB

README.md

File metadata and controls

47 lines (32 loc) · 1.4 KB

Code me an HR !

Build Status Build Status

This is the code used for the talk Code me an HR at PHPTour 2017.

Slide: here Video: here but in french, sorry

Technical requirements

Framework: Symfony 3.4 ORM: Doctrine 2.6 Command Bus: SimpleBus 3.0

Run the tests

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.

Try it!

bin/console server:run
bin/console hautelook:fixtures:load

Go to http://127.0.0.1:8080 !

Next Step?

Rewrite and organize tests

  • We need to introduce integration and acceptance tests.
  • We must not use Behat to test the UI.