Test shall be fast. To get a feeling how fast or slow a specific test is, the @Stopwatch annotation can be used. It will measure elapsed time and pass the result to the TestReporter, which will publish it.


To measure elapsed time just add the @Stopwatch annotation to a class or, like in the following example, to a method:

void test() {
    // Some test