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 JUnittestcase in Eclipse.
However, mavencompletly ignores this test. All my other JUnits are executed by maven but not this particular Fitnesse test.
This seems strange to me because @RunWith is a normal JUnitannotation and so I would expect maven to also run these tests.
Any ideas?