@@ -0,0 +1,879 @@
+package playRepository;%0A%0Aimport org.joda.time.DateTime;%0Aimport org.joda.time.Interval;%0Aimport org.junit.rules.TestWatcher;%0Aimport org.junit.runner.Description;%0Aimport play.Logger;%0A%0Apublic class ExecutionTimeWatcher extends TestWatcher %7B%0A    DateTime start;%0A    DateTime end;%0A%0A    @Override%0A    protected void starting(Description description) %7B%0A        this.start = new DateTime();%0A    %7D%0A%0A    @Override%0A    protected void finished(Description description) %7B%0A        this.end = new DateTime();%0A        Interval interval = new Interval(start, end);%0A        if ( interval.toDurationMillis() / 1000 %3E 3 )%7B%0A            Logger.debug(%22%5Cu001B%5B0;35m%22 + description.getMethodName() + %22: %22 + interval.toDurationMillis() / 1000 + %22 sec%5Cu001B%5B0m%22);%0A        %7D else %7B%0A            Logger.debug(description.getMethodName() + %22: %22 + interval.toDurationMillis() / 1000 + %22 sec%22);%0A        %7D%0A    %7D%0A%7D%0A

add ExecutionTimeWatcher for testing