Annotation Type Stopwatch


  • @Retention(RUNTIME)
    @Target({METHOD,TYPE})
    @Inherited
    @ExtendWith(StopwatchExtension.class)
    public @interface Stopwatch
    @Stopwatch is a JUnit Jupiter extension to measure the elapsed time of a test execution. It's based on the JUnit extension example.

    Stopwatch is not repeatable. It can be used on the method and class level.

    Since:
    0.6