Try using <include>**/*Test.java</include> etc.
**/* means within subdirectories, and this is probably the reason if the
test files are not directly in
testsrc but are in subdirectories due to being in packages etc.
Mike
<BLOCKQUOTE style='PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #A0C6E5
2px solid; MARGIN-RIGHT: 0px'><font
style='FONT-SIZE:11px;FONT-FAMILY:tahoma,sans-serif'><hr color=#A0C6E5
size=1>
From: <i>emerson cargnin
<[EMAIL PROTECTED]></i><br>Reply-To:
<i>[EMAIL PROTECTED]</i><br>To: <i>Maven Users List
<[email protected]></i><br>Subject: <i>tests not being
run</i><br>Date: <i>Fri, 16 Sep 2005 16:19:50 +0100</i><br>>I'm using
maven 1.1 beta 2, win xp<br>><br>>I have a multiproject and my tests
are not being run.<br>><br>>Junit tests summary:<br>>Tests Errors
Failures Success rate Time(s)<br>>0 0 0
? 0.00<br>><br>>But the tests appear at tests
xref.<br>><br>>I don't have any property telling the tests to be
skipped<br>>here goes my project.xml file:<br>><br>><?xml
version="1.0"
encoding="UTF-8"?><br>><project><br>>
<extend>../com.yell.commonbuild/project.xml</extend><br>>
<pomVersion>3</pomVersion><br>> <name>Thesaurus
Subproject</name><br>>
<package>com.yell.thesaurus</package><br>>
<shortDescription>TODO:put here the proper description
for<br>>thesaurus Subproject</shortDescription><br>>
<developers>... </developers><br>>
<build><br>>
<sourceDirectory>src</sourceDirectory><br>>
<unitTestSourceDirectory>testsrc</unitTestSourceDirectory><br>>
<unitTest><br>>
<includes><br>>
<include>*Test.java</include><br>>
<include>*TestCase.java</include><br>>
</includes><br>> </unitTest><br>>
</build><br>>
<artifactId>com.yell.thesaurus</artifactId><br>>
<currentVersion>1.0-SNAPSHOT</currentVersion><br>>
<dependencies><br>>...</project><br>><br>>---------------------------------------------------------------------<br>>To
unsubscribe, e-mail: [EMAIL PROTECTED]<br>>For
additional commands, e-mail:
[EMAIL PROTECTED]<br>><br></font></BLOCKQUOTE>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]