You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@buildr.apache.org by "Alex Boisvert (JIRA)" <ji...@apache.org> on 2010/04/05 16:03:27 UTC

[jira] Issue Comment Edited: (BUILDR-413) Not All Tests are run if starting at top project level

    [ https://issues.apache.org/jira/browse/BUILDR-413?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12853365#action_12853365 ] 

Alex Boisvert edited comment on BUILDR-413 at 4/5/10 2:02 PM:
--------------------------------------------------------------

I've created the same structure (see attachment buildr-testall.zip) and I cannot reproduce this,

.
|-- buildfile
|-- a
|   `-- src
|       |-- main
|       |   `-- java
|       |       `-- HelloA.java
|       `-- test
|           `-- java
|               `-- HelloATest.java
|-- b
|   `-- src
|       |-- main
|       |   `-- java
|       |       `-- HelloB.java
|       `-- test
|           `-- java
|               `-- HelloBTest.java
`-- c
    `-- src
        |-- main
        |   `-- java
        |       `-- HelloC.java
        `-- test
            `-- java
                `-- HelloCTest.java

Tests in A are supposed to fail.

Running "buildr test" stops at project A, as expected.
Running "buildr test=all" reports error for project A and reports successes for projects B and C.


      was (Author: boisvert):
    I've created the same structure (see attachment buildr-testall.zip) and I cannot reproduce this,

.
|-- buildfile
|-- a
|   `-- src
|       |-- main
|       |   `-- java
|       |       `-- HelloA.java
|       `-- test
|           `-- java
|               `-- HelloATest.java
|-- b
|   `-- src
|       |-- main
|       |   `-- java
|       |       `-- HelloB.java
|       `-- test
|           `-- java
|               `-- HelloBTest.java
`-- c
    `-- src
        |-- main
        |   `-- java
        |       `-- HelloC.java
        `-- test
            `-- java
                `-- HelloBTest.java

Tests in A are supposed to fail.

Running "buildr test" stops at project A, as expected.
Running "buildr test=all" reports error for project A and reports successes for projects B and C.

  
> Not All Tests are run if starting at top project level
> ------------------------------------------------------
>
>                 Key: BUILDR-413
>                 URL: https://issues.apache.org/jira/browse/BUILDR-413
>             Project: Buildr
>          Issue Type: Bug
>          Components: Test frameworks
>    Affects Versions: 1.3.5
>            Reporter: David Carver
>            Assignee: Antoine Toulme
>             Fix For: 1.4
>
>         Attachments: buildr-testall.zip, IrraticTestPattern.png
>
>
> When running unit tests, and running from the top level project using test=all does not continue running all the tests.  It runs all the tests until there is a failure in a project, and then runs the all the tests in that project, but then stops running tests.   Ideally, it should continue running tests in all the other projects as well as there may be additional tests that need to be reported as failures.   This is critical when doing a continuous integration build so that the developers get proper feedback on the state of the build.
> I'll attach a screen shot from a Hudson build that shows the pattern I'm talking about.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.