Skip to content

Conversation

@Zegnat
Copy link
Member

@Zegnat Zegnat commented Aug 8, 2018

Following the convention set by Guzzle by introducing a test group “internet”. Did this for selfish reasons, as depending on the day, my testing will just kinda hang on these. Now those tests can easily be skipped: ./vendor/bin/phpunit --exclude-group internet.

You may not always have a live internet connection available during
testing. By moving all tests that require a live connection into a
specific group, they can easily be toggled with `--exclude-group`.

The group name “internet” reflects the one used by Guzzle:
https://guzzle3.readthedocs.io/testing/unit-testing.html#group-internet-annotation
Copy link
Member

@gRegorLove gRegorLove left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@aaronpk aaronpk merged commit 6e2688f into microformats:master Aug 23, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants