epdenouden / phpunit-testdox-tutorial
Self-guided tutorial for PHPUnit TestDox human-readable reports.
Installs: 22
Dependents: 0
Suggesters: 0
Security: 0
Stars: 9
Watchers: 2
Forks: 0
Open Issues: 0
Type:project
Requires
- phpunit/phpunit: >8.0
This package is auto-updated.
Last update: 2025-07-07 21:03:10 UTC
README
Download and install the tutorial and PHPUnit using Composer:
composer create-project epdenouden/phpunit-testdox-tutorial
Keep self-testing and fixing until everything is green!
cd phpunit-testdox-tutorial/ composer test
Topics covered
File | Topic |
---|---|
unit/HowToUseThisTutorialTest.php |
@testdox annotation basics |
unit/TestDoxAutomaticCapitalizationTest.php |
improve naming of tests and test suites |
unit/TestDoxDataProviderTest.php |
data providers: quickly identify failing scenarios by including parameter values |
end-to-end/*.phpt |
PHPUnit end-to-end (self-)testing |
TestDox manual
- PHPUnit manual on the
@testdox
annotation - PHPUnit manual on the
--testdox
command line option - PHPT file format reference