File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change 11
11
12
12
Via Composer
13
13
14
- ``` bash
14
+ ``` bash
15
15
$ composer require php-http/client-integration-tests
16
16
```
17
17
18
18
19
19
## Usage
20
20
21
- This package should not be used on its own. It provides integration tests for HTTP Adapters .
21
+ This package should not be used on its own. It provides integration tests for HTTP Clients .
22
22
23
23
24
24
### Running tests for HTTP Adapters
25
25
26
26
Start the HTTP Test server:
27
27
28
- ``` bash
28
+ ``` bash
29
29
$ vendor/bin/http_test_server
30
30
```
31
31
32
32
Install an adapter.
33
33
34
- ``` bash
34
+ ``` bash
35
35
$ composer require php-http/curl-client:dev-master zendframework/zend-diactoros
36
36
```
37
37
38
38
Run the tests.
39
39
40
- ``` bash
40
+ ``` bash
41
41
./vendor/bin/phpunit --testsuite curl --printer " Http\Client\Tests\ResultPrinter"
42
42
```
43
43
44
+
44
45
## Contributing
45
46
46
47
Please see our [ contributing guide] ( http://docs.php-http.org/en/latest/development/contributing.html ) .
You can’t perform that action at this time.
0 commit comments