File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 44
55## Befehle zum ausführen
66- gesamte Klasse einfach ausführen ohne SchnickSchnack:
7- ``` bash vendor/bin/phpunit --bootstrap vendor/autoload.php tests/SampleClassTest.php ```
7+ ``` shell vendor/bin/phpunit --bootstrap vendor/autoload.php tests/SampleClassTest.php ```
88- gesamte Klasse einfach ausführen mit testdox:
9- ``` bash vendor/bin/phpunit --bootstrap vendor/autoload.php --testdox tests/SampleClassTest.php ```
9+ ``` shell vendor/bin/phpunit --bootstrap vendor/autoload.php --testdox tests/SampleClassTest.php ```
1010- gesamte Klasse mit manueller code coverage, phpunit.xml Config ohne testdox:
11- ``` bash vendor/bin/phpunit --configuration tests/phpunit.xml tests/SampleClassTest.php --whitelist src/ --coverage-html build/phpunit/coverage/ ```
11+ ``` shell vendor/bin/phpunit --configuration tests/phpunit.xml tests/SampleClassTest.php --whitelist src/ --coverage-html build/phpunit/coverage/ ```
1212- gesamte Klasse mit manueller code coverage, phpunit.xml Config und testdox:
13- ``` bash vendor/bin/phpunit --configuration tests/phpunit.xml tests/SampleClassTest.php --testdox --whitelist src/ --coverage-html build/phpunit/coverage/ ```
13+ ``` shell vendor/bin/phpunit --configuration tests/phpunit.xml tests/SampleClassTest.php --testdox --whitelist src/ --coverage-html build/phpunit/coverage/ ```
1414- nur bestimmte Funktionen mit manueller code coverage, phpunit.xml Config und testdox:
15- ``` bash vendor/bin/phpunit --configuration tests/phpunit.xml tests/SampleClassTest.php --testdox --whitelist src/ --coverage-html build/phpunit/coverage/ --filter "testDoSomethingHiddenFailedIfInputIs(Empty|TooShort|TooLong)$" ```
15+ ``` shell vendor/bin/phpunit --configuration tests/phpunit.xml tests/SampleClassTest.php --testdox --whitelist src/ --coverage-html build/phpunit/coverage/ --filter "testDoSomethingHiddenFailedIfInputIs(Empty|TooShort|TooLong)$" ```
1616- gesamte Klasse testen mit einer "kompletten" configuration:
17- ``` bash vendor/bin/phpunit --configuration phpunit\_full.xml tests/SampleClassTest.php ```
17+ ``` shell vendor/bin/phpunit --configuration phpunit\_full.xml tests/SampleClassTest.php ```
You can’t perform that action at this time.
0 commit comments