ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marc Benstein <>
Subject junit skipNotTests zipfileset including inner classes that are not tests
Date Tue, 11 Feb 2014 00:17:50 GMT
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">
    <formatter type="xml" />
    <batchtest skipNonTests="yes" todir="${junit.result.dir}">
        <zipfileset src="foo-testing.jar">
            <exclude name="**/*TestLocal.class" />

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

TEL 505.828.9000
FAX 505.823.1841

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.
View raw message