You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by bo...@werken.com on 2003/01/24 12:38:16 UTC

[maven-bug] Created: (MAVEN-213) junit and console interaction broken due to properties persisting across runs

Message:

  A new issue has been created in JIRA.

---------------------------------------------------------------------
View the issue:

  http://jira.werken.com/secure/ViewIssue.jspa?key=MAVEN-213


Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MAVEN-213
    Summary: junit and console interaction broken due to properties persisting across runs
       Type: Bug

     Status: Assigned
   Priority: Major

 Time Spent: Unknown
   Estimate: 1 hour

    Project: maven
  Component: plugin-test

   Assignee: Jason van Zyl
   Reporter: Ben Walding

    Created: Fri, 24 Jan 2003 5:38 AM
    Updated: Fri, 24 Jan 2003 5:38 AM

Description:
(This is all within a single console session)

Problem: If you run test:test target and something fails, then you fix whatever it is that caused the failure, the build cycle will still terminate at the end of running the testcases.



Prediction: The property that is set by test plugin is persisting between runs and needs to be reset before entering tests.  The only harmful side effect might be if you run 3 sets of test:test in a row and expect it to be set if any one of them failed.  This change would mean that it would only be set if last use of test:test failed.  

I don't believe you should be relying on properties to behave in that manner so I'll patch it and submit it in any event. The dev team can put the kibosh on it if needs be.




---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://jira.werken.com/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira