Skip to content

Commit

Permalink
Merge pull request #27 from clue-labs/tests
Browse files Browse the repository at this point in the history
Optionally skip functional integration tests requiring internet
  • Loading branch information
clue authored Sep 8, 2018
2 parents 5f132b6 + df52864 commit deea50c
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -238,6 +238,14 @@ To run the test suite, go to the project root and run:
$ php vendor/bin/phpunit
```

The test suite also contains a number of functional integration tests that rely
on a stable internet connection.
If you do not want to run these, they can simply be skipped like this:

```bash
$ php vendor/bin/phpunit --exclude-group internet
```

## License

MIT
5 changes: 4 additions & 1 deletion tests/FunctionalTest.php
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
<?php

use Clue\React\Block;
use Clue\React\Soap\Factory;
use Clue\React\Soap\Client;
use Clue\React\Soap\Proxy;
use Clue\React\Block;
use PHPUnit\Framework\TestCase;

/**
* @group internet
*/
class FunctionalTest extends TestCase
{
/**
Expand Down

0 comments on commit deea50c

Please sign in to comment.