Skip to content

Wish: Measure execution time of each test #4

Open
@cwollenhaupt

Description

@cwollenhaupt

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions