| JUnit View shows no results -- neither success nor failure [message #1205840]
||Sat, 23 November 2013 20:59
| John Lusk
Registered: November 2013
Having trouble w/JUnit view -- it doesn't seem to show success or failure.|
Using Kepler SR1, Maven 3.1.1, JUnit 3.8.1 and 4.11 (i.e., I've tried them both).
I created a Maven quickstart project, selected the testing folder and used Eclipse to add a new JUnit4 test case. Looks like this:
import static org.junit.Assert.*;
public class NooJUnitTestCase
public void test()
System.out.println( "This is a new JUnit4 test case.");
fail( "Not yet implemented");
HOWEVER... when I execute "Run As JUnit Test", the JUnit view shows that it's running (status line puts test class name up, then shows "Terminated"), console output appears in the console window, but I never get a red bar (or a green bar) in the JUnit view. It just shows "Runs: 0/0", which doesn't seem right. This works fine from the command line, running mvn test.
What's going on here? Is this a bug in Kepler? (Hard to believe.)
Powered by FUDForum
. Page generated in 0.03105 seconds