VFPX/FoxUnit

Wish: Measure execution time of each test

Opened this issue · 0 comments

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.