You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by bu...@apache.org on 2007/09/25 21:07:02 UTC

DO NOT REPLY [Bug 43475] New: - Add support for a setUp and tearDown target to be called before and after the entire set of tests

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=43475>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=43475

           Summary: Add support for a setUp and tearDown target to be called
                    before and after the entire set of tests
           Product: Ant
           Version: unspecified
          Platform: Other
        OS/Version: other
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: AntUnit
        AssignedTo: dev@ant.apache.org
        ReportedBy: david.jackman@fastsearch.com


Sometimes the tests in a single test script will require some relatively
expensive set up before they can be run.  This enhancement is to add the
capability for a target to run before all the tests in the script are run, and
another to run after all the tests in the script have run.  This is similar to
the BeforeClass and AfterClass annotations in JUnit 4.

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

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


DO NOT REPLY [Bug 43475] - Add support for a setUp and tearDown target to be called before and after the entire set of tests

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=43475>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=43475





------- Additional Comments From david.jackman@fastsearch.com  2007-09-25 15:01 -------
Created an attachment (id=20880)
 --> (http://issues.apache.org/bugzilla/attachment.cgi?id=20880&action=view)
Provides a patch for the code to add this enhancement, including tests

Note that this patch also includes the patch for bug 43466.

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

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


DO NOT REPLY [Bug 43475] - Add support for a setUp and tearDown target to be called before and after the entire set of tests

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=43475>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=43475


david.jackman@fastsearch.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #20880|0                           |1
        is obsolete|                            |
  Attachment #20945|0                           |1
        is obsolete|                            |




------- Additional Comments From david.jackman@fastsearch.com  2007-10-09 14:56 -------
Created an attachment (id=20949)
 --> (http://issues.apache.org/bugzilla/attachment.cgi?id=20949&action=view)
New patch based on latest revision (583310)

This patch contains changes for this enhancement on the latest revision of the
code (583310)

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

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


DO NOT REPLY [Bug 43475] - Add support for a setUp and tearDown target to be called before and after the entire set of tests

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=43475>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=43475





------- Additional Comments From david.jackman@fastsearch.com  2007-10-11 13:14 -------
Created an attachment (id=20961)
 --> (http://issues.apache.org/bugzilla/attachment.cgi?id=20961&action=view)
Patch to implement this feature that works with bug 43604

This patch also includes a change made necessary by the patch to bug 43604
(which adds a method to the AntUnitListener interface).

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

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


DO NOT REPLY [Bug 43475] - Add support for a setUp and tearDown target to be called before and after the entire set of tests

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=43475>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=43475





------- Additional Comments From david.jackman@fastsearch.com  2007-10-08 08:23 -------
Created an attachment (id=20945)
 --> (http://issues.apache.org/bugzilla/attachment.cgi?id=20945&action=view)
Better patch to add this feature

The previous patch had a problem--all the files in the new directory were added
twice (I think this is bug in TortoiseSVN).  This patch should have the files
added only once.

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

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org