One test in Maven
Jun. 19th, 2015 01:10 pmI mentioned that I don't like Eclipse. There's more. Today I tried to run a test class: right click, "run as JUnit test". It said
Happily I found out how to run a single test with Maven:
Class not found [my test class]Er, you can't find the thing that I just clicked on. WTF?
java.lang.ClassNotFoundException: [my test class]
Happily I found out how to run a single test with Maven:
mvn -Dtest=[my test class]#[my test method] test