> > >     public static void testGlossary()
> > >      {
> >
> > POJO ITs work in my set up, but my test methods are not static.
>
> Thanks. Can I check what naming convention you've used for your test methods 
> -- and/or configuration to override this? How about your classes?

In plugin I only define executions (i.e. have no redefined includes),
and test classes follow convention *IT (like SimpleIT).

When I change my method to static I get similar result to your log:

> [INFO] Running 
> org.odpi.openmetadata.accessservices.subjectarea.fvt.FVTConstants
> [INFO] Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.004 
> s - in org.odpi.openmetadata.accessservices.subjectarea.fvt.FVTConstants

- class is considered by failsafe but no test is discovered.

Did you try to make test method in GlossaryFVT not static and run
maven `verify -Dit.test=GlossaryFVT`? It shall not need/ignore
includes configured.

> For the method, I also tried prepending/appending with 'test' , 'Test', 'IT' 
> but couldn't get any combination working.
> [...]
> naming convention you've used for your test methods

Note, that per 
http://maven.apache.org/surefire/maven-surefire-plugin/examples/pojo-test.html
- test method has to be named test* and it works fine.

-- 
Piotrek

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org

Reply via email to