typelevel / typelevel/scalacheck
Add timeout feature to tests
Open
Nobody has claimed this yet.
- Dominant language
- Scala
- Stars
- 2k
- Forks
- 393
- Avg merge
- 6h 42m
- Merged PRs (30d)
- 4
Description
Transferred from http://code.google.com/p/scalacheck/issues/detail?id=82
Some tests my result in an infinite loop, and this may not be predictable in advance. It would be great if the runner supported an option that kills any test that has run longer than X seconds.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue names no files, tests, or entry points, so first locate the test runner and determine where a per-test timeout option belongs. Define how the timeout is configured and what happens when a test exceeds it; done means a long-running test is stopped after the requested number of seconds.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- scala
- Domain
- testing
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100