ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 52442] New: JUNIT methods attribute won't work
Date Mon, 09 Jan 2012 16:40:15 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=52442

             Bug #: 52442
           Summary: JUNIT methods attribute won't work
           Product: Ant
           Version: 1.8.2
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Core tasks
        AssignedTo: notifications@ant.apache.org
        ReportedBy: milo.nimrod@gmail.com
    Classification: Unclassified


Created attachment 28128
  --> https://issues.apache.org/bugzilla/attachment.cgi?id=28128
a file containing all the files with the examples

When trying to use the new methods attribute in the test, the running build
file is ignoring it and running all the methods in the test file.
see attached example for the results:

run_test:
    [junit] Testsuite: TestEx0
    [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 0.023 sec
    [junit] 

all:

BUILD SUCCESSFUL
Total time: 1 second

although there is only one test in :

<test name="TestEx0" methods="testTask1Case2"/>

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

Mime
View raw message