I am using ant 1.9.3 with junit 4.11 with batchtest skipNonTests="true"

What is happening is that inner classes of non-test classes are being
tested. This is resulting in a few failures. Any thoughts on why these
inner classes that are not test classes are being tested?

<junit printsummary="no" fork="yes" forkmode="perBatch"
haltonfailure="no" failureproperty="junit.failure">
    <classpath>
        ...
    </classpath>
    <formatter type="xml" />
    <batchtest skipNonTests="yes" todir="${junit.result.dir}">
        <zipfileset src="foo-testing.jar">
            <exclude name="**/*TestLocal.class" />
        </zipfileset>
    </batchtest>
</junit>

Ultramain Systems, Inc.
8100 Lang Avenue NE
Albuquerque, NM 87109
USA

TEL 505.828.9000
FAX 505.823.1841
www.ultramain.com

Confidentiality Notice: This email message and any files transmitted with it 
may contain confidential information intended only for the person(s) to whom 
this email is addressed. If you have received this email in error, please 
notify the sender immediately by phone or email and destroy the original 
message without making a copy. Thank you.

Reply via email to