Saturday, March 19, 2016

java - How to measure test init time JUnit

Is there any mechanism to measure how log takes initialization of data for tests in JUnit?



I use method @Before setUp() that I run before test in order to load some data.



Question is about mechanism in JUnit.



If it's possible I would like to avoid using System.currentTimeMillis(); in each test ;)

No comments:

Post a Comment