A workshop built around PHPUnit
Requirement: You need Docker installed on your machine and composer
- Clone this project
- Run
docker-compose up -d
to start the project - Run
bin/composer install
to install the dependencies - (Optional) Import the
workshop.postman_collection.json
file in Postman
- Introduction: Why should we test?
- How to install and run PHPUnit
- Writing your first unit test
- Sidetrack: object design, two types of objects
- Integration tests
- Contract testing
- Acceptance tests