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

Decorate unit tests requiring network access w/ conditional skip #751

Open
sadielbartholomew opened this issue Mar 26, 2024 · 0 comments
Open
Labels
testing Issues related to units tests and their coverage

Comments

@sadielbartholomew
Copy link
Member

See the second paragraph of #747 (comment). In short, to aid with development with limited internet access and help with issues of flaky URL access, we can create a small helper function to check for network access and use that to conditional skip tests which rely on being online, which are the minority of tests.

@sadielbartholomew sadielbartholomew added the testing Issues related to units tests and their coverage label Mar 26, 2024
@sadielbartholomew sadielbartholomew changed the title Decorate unit tests that require network access with conditional skip Decorate unit tests requiring network access w/ conditional skip Mar 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
testing Issues related to units tests and their coverage
Projects
None yet
Development

No branches or pull requests

1 participant