buildr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lacton (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (BUILDR-133) The two tests 'should execute only the named tests' in test_spec are broken
Date Sat, 23 Aug 2008 13:07:44 GMT

     [ https://issues.apache.org/jira/browse/BUILDR-133?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Lacton resolved BUILDR-133.
---------------------------

       Resolution: Fixed
    Fix Version/s: 1.3.3

$ svn ci -m "BUILDR-133: fixed tests that were not testing what they were meant to test"
Sending        spec/test_spec.rb
Transmitting file data .
Committed revision 688306.


> The two tests 'should execute only the named tests' in test_spec are broken
> ---------------------------------------------------------------------------
>
>                 Key: BUILDR-133
>                 URL: https://issues.apache.org/jira/browse/BUILDR-133
>             Project: Buildr
>          Issue Type: Test
>          Components: Core features
>         Environment: buildr trunk revision 684978
>            Reporter: Lacton
>            Priority: Minor
>             Fix For: 1.3.3
>
>         Attachments: BUILDR-133.spec.patch
>
>
> In test_spec.rb, there are two tests 'should execute only the named tests', one for unit
tests and one for integration tests.
> These tests are broken (i.e., they do not test what they say they are testing).  Changing
"task('test:Something').invoke" to "task('test').invoke" should raise an error, but it does
not.
> The attached patch fixes this issue by calling JUnit's fail method.

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


Mime
View raw message