I created JUnit
-tests for my Fitnesse testcases:
import org.junit.runner.RunWith;
import fitnesse.junit.FitNesseRunner;
@RunWith(FitNesseRunner.class)
@FitNesseRunner.Suite("mysuite")
@FitNesseRunner.FitnesseDir(".")
@FitNesseRunner.OutputDir("./target/fitnesse-results")
public class RunFitnesseTestMySuite {
}
Now I can execute this test like a normal JUnit
testcase in Eclipse.
However, maven
completly ignores this test. All my other JUnit
s are executed by maven but not this particular Fitnesse
test.
This seems strange to me because @RunWith
is a normal JUnit
annotation and so I would expect maven to also run these tests.
Any ideas?