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

fix: Handle case where no tests are present #190

Merged
merged 1 commit into from
May 5, 2020
Merged

Conversation

orangejulius
Copy link
Member

Fixes #175

A simple message is printed and the test runner now exits immediately.

@orangejulius orangejulius merged commit 3c3d447 into master May 5, 2020
@orangejulius orangejulius deleted the handle-no-tests branch May 5, 2020 17:10
orangejulius added a commit that referenced this pull request May 5, 2020
The loop which handles sending off HTTP requests for test cases can have
nothing to do under two distinct conditions:

- there are no tests at all
- all test cases have HTTP requests in flight

#190 handled only the first
of these, but broke on the second case, causing most test runs to fail.

This adds support for both cases so that graceful handling of empty test
directories works, but so does actually running a test suite.
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.

fuzzy-tester hangs when test_cases dir empty
1 participant