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

lacton commented on BUILDR-431:
-------------------------------

"One last note on running tests. By default when you run tests, Buildr will 
automatically run all transitive test dependencies. This mean if you run 
"buildr test" inside project bar and bar  depends on project foo, Buildr will 
first run tests in project foo if there have been any changes affecting foo  
that haven't been taken into account yet. This behavior often surprises people, 
especially when they are trying to get things done and only care about tests in 
bar at that moment. For those times when you'd like to focus your testing on 
specific projects, Buildr has the only option that will only run tests for 
projects specified on the command line,

$ buildr test=only bar:test"

from http://buildr.apache.org/testing.html

So, it's not a regression, it's an evolution.

> 'buildr test' runs tests from all dependent modules while invoked from a 
> particular module
> ------------------------------------------------------------------------------------------
>
>                 Key: BUILDR-431
>                 URL: https://issues.apache.org/jira/browse/BUILDR-431
>             Project: Buildr
>          Issue Type: Bug
>    Affects Versions: 1.3.5
>            Reporter: Rafal Rusin
>            Assignee: Antoine Toulme
>
> To reproduce it, please use APACHE_ODE_1.X and enter bpel-compiler. Then run
> buildr _1.3.5_ test
> ode-utils tests are shown to be executed (while they shouldn't):
> buildr _1.3.5_ test
> (in /home/joker/ode-1.X, development)
> Testing ode:bpel-compiler
> Running tests in ode:utils
> Trying to override old definition of datatype junit
>     [junit] Testsuite: org.apache.ode.utils.DOMUtilsTest
>     [junit] Tests run: 6, Failures: 0, Errors: 0, Time elapsed: 1,498 sec
>     [junit] 
>     [junit] Testcase: testParseInputStream took 0,534 sec
>     [junit] Testcase: testParseInputSource took 0,005 sec
>     [junit] Testcase: testNewDocument took 0 sec
>     [junit] Testcase: testSerializeDom took 0,034 sec

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

Reply via email to