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

Wish: Measure execution time of each test #4

Open
cwollenhaupt opened this issue Nov 30, 2017 · 0 comments
Open

Wish: Measure execution time of each test #4

cwollenhaupt opened this issue Nov 30, 2017 · 0 comments

Comments

@cwollenhaupt
Copy link
Contributor

Unit tests should be quick to run to be actual unit tests. When running all tests in a class or several classes, it's not possible to spot which test took too long to execute.

  • FoxUnit should measure the execution time of each test in ms and display it in the list of tests.
  • A filter should allow to limit the list to tests that took longer than a specified threshold
  • A new TimeOut method can be called in either SetUp() or a test method to specify the maximum time that a test runs before automatically failing. See implementation in JUnit 4.
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

No branches or pull requests

1 participant