[Cosmo-dev] Test failures

Brian Moseley bcm at osafoundation.org
Tue Jan 2 19:08:30 PST 2007


On 1/2/07, Travis Vachon <travis at osafoundation.org> wrote:
> Hi all
>
> I'm seeing some test failures when doing mvn package war:inplace:

in m2, surefire interprets classes matching the pattern
**/*TestCase.java as test classes. m1 did not do this, and the
convention for test base classes was to name them in that way. so
surefire was finding base classes, attempting to run tests in them,
and complaining cos they had no tests defined. i checked in a change
to pom.xml to make surefire ignore these classes.

if there's a different convention for test base class naming in m2,
i'll rename them and revert this change, but somebody else will have
to do the research ;)


More information about the cosmo-dev mailing list