📌 learning-tdd is a project for you learn how to development in TDD (Test Driven Development).
📌 It's very simple you just need to have the docker and docker-compose installed.
With that installed just run the following command.
$ docker-compose build
$ docker-compose up -d
$ docker-compose exec app
📌 First: you need create a new file test into ./tests
📌 Second: added a new tag testsuite into phpunit.xml
<testsuite name="new name for the you testsuite">
<file>"file path"</file>
</testsuite>
$ docker-compose exec app phpunit --testsuite name_from_test
📌 For more information, access:
(Doc) - PHPUnit
📌 Is a test for exemplification from use phpunit with testsuite.
RUN
$ docker-compose exec app phpunit --testsuite example