Skip to content

Commit 98cec80

Browse files
authored
Merge pull request #26 from php-http/Nyholm-patch-1
Show how to run the tests
2 parents d602927 + 455cec6 commit 98cec80

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

README.md

+10-1
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,17 @@ Start the HTTP Test server:
2929
$ vendor/bin/http_test_server
3030
```
3131

32-
Run tests.
32+
Install an adapter.
3333

34+
``` bash
35+
$ composer require php-http/curl-client:dev-master zendframework/zend-diactoros
36+
```
37+
38+
Run the tests.
39+
40+
``` bash
41+
./vendor/bin/phpunit --testsuite curl --printer "Http\Client\Tests\ResultPrinter"
42+
```
3443

3544
## Contributing
3645

0 commit comments

Comments
 (0)