Right, test methods must begin with "test" and test classes must end with "Test".

The four classes in the CPM that are not called by Maven ends with "Tests".

I will fix this.

Thanks
Michael

Adam Lally wrote:
Hmmm, haven't checked it, but I seem to recall that Maven uses some
namng heuristics to decide what classes to execute. I think class
names have to begin or end with "test" in order to be executed.
Possibly, methods might also have to begin or end with "test" - I'm
not sure.  So that's something to look for.

-Adam

On 7/4/07, Michael Baessler <[EMAIL PROTECTED]> wrote:
Hi,

I just figured out that when I run our UIMA JUnit tests with Maven from
the command line, not all tests are executed. Some of the test classes
are not executed.

For example in the uimaj-cpe project in my eclipse workspace I have 71
tests but when running maven from the command line I only see 34
executed test cases.
The same with uimaj-core there I see 373 tests in eclipse but only 371
with Maven on the command line.

Does anyone else see that behavior?

-- Michael






Reply via email to