Skip to content

Commit a11518b

Browse files
authored
Update README.md
1 parent 843c36a commit a11518b

1 file changed

Lines changed: 18 additions & 6 deletions

File tree

README.md

Lines changed: 18 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,26 @@
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+
```

0 commit comments

Comments
 (0)