Skip to content

Commit 034a8e8

Browse files
committed
Make console commands copiable
1 parent 4e1ce2b commit 034a8e8

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

tests/README.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,13 @@ writing we are running version 9.x. Support for this has been built into the
1919
via [Composer](https://getcomposer.org/) if you don't already have it installed globally.
2020

2121
```console
22-
> composer install
22+
composer install
2323
```
2424

2525
If running under macOS or Linux, you can create a symbolic link to make running tests a touch nicer.
2626

2727
```console
28-
> ln -s ./vendor/bin/phpunit ./phpunit
28+
ln -s ./vendor/bin/phpunit ./phpunit
2929
```
3030

3131
You also need to install [XDebug](https://xdebug.org/docs/install) in order
@@ -81,32 +81,32 @@ The available groups to use are:
8181
The entire test suite can be run by simply typing one command-line command from the main directory.
8282

8383
```console
84-
> ./phpunit
84+
./phpunit
8585
```
8686

8787
If you are using Windows, use the following command.
8888

8989
```console
90-
> vendor\bin\phpunit
90+
vendor\bin\phpunit
9191
```
9292

9393
You can limit tests to those within a single test directory by specifying the
9494
directory name after phpunit. All core tests are stored under **tests/system**.
9595

9696
```console
97-
> ./phpunit tests/system/HTTP/
97+
./phpunit tests/system/HTTP/
9898
```
9999

100100
Individual tests can be run by including the relative path to the test file.
101101

102102
```console
103-
> ./phpunit tests/system/HTTP/RequestTest.php
103+
./phpunit tests/system/HTTP/RequestTest.php
104104
```
105105

106106
You can run the tests without running the live database and the live cache tests.
107107

108108
```console
109-
> ./phpunit --exclude-group DatabaseLive,CacheLive
109+
./phpunit --exclude-group DatabaseLive,CacheLive
110110
```
111111

112112
## Generating Code Coverage
@@ -115,7 +115,7 @@ To generate coverage information, including HTML reports you can view in your br
115115
you can use the following command:
116116

117117
```console
118-
> ./phpunit --colors --coverage-text=tests/coverage.txt --coverage-html=tests/coverage/ -d memory_limit=1024m
118+
./phpunit --colors --coverage-text=tests/coverage.txt --coverage-html=tests/coverage/ -d memory_limit=1024m
119119
```
120120

121121
This runs all of the tests again collecting information about how many lines,

0 commit comments

Comments
 (0)