Closed toshovski closed 9 years ago
The name of your Java test class is probably not matched by surefire's inclusion filter. see: http://maven.apache.org/surefire/maven-surefire-plugin/examples/inclusion-exclusion.html
It should work if you rename MyXpectTests to MyXpectTest (remove the trailing "s"). Or, alternatively, configure the
You are right! That was the problem. The example on the Xpect webpage has the same name. Maybe you should change it.
Thanks for the quick answer.
true, I should change it.
So I tried to run the Xpect tests with tycho. As basis I used the pom file from org.eclipse.xtext.example.domainmodel.xpect.tests, but there are no tests found. Here is my pom.xml file:
My Xpect Test Runner:
And the simple test
When I call xpect in maven with -X, i get the following error message: