Skip to content

epdenouden/phpunit-testdox-tutorial

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PHPUnit TestDox tutorial

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

About

Learn how to use PHPUnit's human-readable TestDox reporting format

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages