epdenouden / phpunit-testdox-tutorial
Self-guided tutorial for PHPUnit TestDox human-readable reports.
Package info
github.com/epdenouden/phpunit-testdox-tutorial
Type:project
pkg:composer/epdenouden/phpunit-testdox-tutorial
1.1.2
2020-03-06 14:43 UTC
Requires
- phpunit/phpunit: >8.0
This package is auto-updated.
Last update: 2026-02-27 22:40:09 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
@testdoxannotation - PHPUnit manual on the
--testdoxcommand line option - PHPT file format reference