diff --git a/README.md b/README.md index 8fa9ff7..b7b89dd 100644 --- a/README.md +++ b/README.md @@ -345,6 +345,13 @@ To run the test suite, go to the project root and run: $ php vendor/bin/phpunit ``` +The test suite contains tests that rely on a working internet connection, +alternatively you can also run it like this: + +```bash +$ php vendor/bin/phpunit --exclude-group internet +``` + ## License MIT diff --git a/tests/FunctionalTest.php b/tests/FunctionalTest.php index e7e8ae6..a8f2c04 100644 --- a/tests/FunctionalTest.php +++ b/tests/FunctionalTest.php @@ -9,6 +9,7 @@ use Clue\React\Block; use React\Socket\SecureConnector; +/** @group internet */ class FunctionalTest extends AbstractTestCase { private $loop;