JUnit tests not completing
-
- Posts: 1
- Joined: Thu Sep 17, 2020 9:42 pm
JUnit tests not completing
I recently installed the YourKit profiler for Java and the plugin for Eclipse. I successfully ran a JUnit test and profiled it. I was happy. I saw the results of where I needed to focus my attention on speed. I made the changes then ran the test again. This time however, the JUnit test only performed the Init() function of the unit test but did not perform the method being tested. I restarted both Eclipse and the Profiling application but neither helped. Not sure what is wrong or why the jUnit test method wont get called under the profiler. Just to make sure, I ran it just as a jUnit test without the profiler and it ran correctly.
-
- Posts: 6172
- Joined: Wed Aug 11, 2004 8:37 am
Re: JUnit tests not completing
Could you please send the profiler agent log file <user home>/.yjp/log/<session name>-<pid>.log to [email protected]