Skip to content

Commit 104d568

Browse files
authored
Merge pull request #16 from clue-labs/tests
Optionally exclude tests that rely on working internet connection
2 parents 869aabd + 6a0ea6c commit 104d568

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -345,6 +345,13 @@ To run the test suite, go to the project root and run:
345345
$ php vendor/bin/phpunit
346346
```
347347

348+
The test suite contains tests that rely on a working internet connection,
349+
alternatively you can also run it like this:
350+
351+
```bash
352+
$ php vendor/bin/phpunit --exclude-group internet
353+
```
354+
348355
## License
349356

350357
MIT

tests/FunctionalTest.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
use Clue\React\Block;
1010
use React\Socket\SecureConnector;
1111

12+
/** @group internet */
1213
class FunctionalTest extends AbstractTestCase
1314
{
1415
private $loop;

0 commit comments

Comments
 (0)