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- ```` shell vendor/bin/phpunit --bootstrap vendor/autoload.php tests/SampleClassTest.php ````
7+ ``` bash
8+ vendor/bin/phpunit --bootstrap vendor/autoload.php tests/SampleClassTest.php
9+ ```
810- gesamte Klasse einfach ausführen mit testdox:
9- ``` shell vendor/bin/phpunit --bootstrap vendor/autoload.php --testdox tests/SampleClassTest.php ```
11+ ``` bash
12+ vendor/bin/phpunit --bootstrap vendor/autoload.php --testdox tests/SampleClassTest.php
13+ ```
1014- gesamte Klasse mit manueller code coverage, phpunit.xml Config ohne testdox:
11- ``` shell vendor/bin/phpunit --configuration tests/phpunit.xml tests/SampleClassTest.php --whitelist src/ --coverage-html build/phpunit/coverage/ ```
15+ ``` bash
16+ vendor/bin/phpunit --configuration tests/phpunit.xml tests/SampleClassTest.php --whitelist src/ --coverage-html build/phpunit/coverage/
17+ ```
1218- gesamte Klasse mit manueller code coverage, phpunit.xml Config und testdox:
13- ``` shell vendor/bin/phpunit --configuration tests/phpunit.xml tests/SampleClassTest.php --testdox --whitelist src/ --coverage-html build/phpunit/coverage/ ```
19+ ``` bash
20+ vendor/bin/phpunit --configuration tests/phpunit.xml tests/SampleClassTest.php --testdox --whitelist src/ --coverage-html build/phpunit/coverage/
21+ ```
1422- nur bestimmte Funktionen mit manueller code coverage, phpunit.xml Config und testdox:
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)$" ```
23+ ``` bash
24+ vendor/bin/phpunit --configuration tests/phpunit.xml tests/SampleClassTest.php --testdox --whitelist src/ --coverage-html build/phpunit/coverage/ --filter " testDoSomethingHiddenFailedIfInputIs(Empty|TooShort|TooLong)$"
25+ ```
1626- gesamte Klasse testen mit einer "kompletten" configuration:
17- ``` shell vendor/bin/phpunit --configuration phpunit\_full.xml tests/SampleClassTest.php ```
27+ ``` bash
28+ vendor/bin/phpunit --configuration phpunit\_ full.xml tests/SampleClassTest.php
29+ ```
You can’t perform that action at this time.
0 commit comments