Saturday 19 March 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

c++ - Does curly brackets matter for empty constructor?

Those brackets declare an empty, inline constructor. In that case, with them, the constructor does exist, it merely does nothing more than t...