Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Filtering tests based on external system availability #16

Open
jackfirth opened this issue Oct 9, 2017 · 0 comments
Open

Filtering tests based on external system availability #16

jackfirth opened this issue Oct 9, 2017 · 0 comments

Comments

@jackfirth
Copy link
Owner

Fixtures are meant for integration tests, which often depend on certain machine features like network access or a Docker daemon being available. It should be possible for a fixture to indicate that the disposable resource it wraps is not available on the current machine, so that test cases using them can automatically be skipped when run in those environments. By pairing this with a disposable constructing an HTTP client for example, tests talking to AWS could automatically be skipped when run in the package catalog build server.

However, it might be better to provide this functionality as part of a more general way of conditionally skipping tests.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant