buildr-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Antoine Toulme <anto...@lunar-ocean.com>
Subject Re: Running tests that failed during last run
Date Fri, 15 Jan 2010 18:59:57 GMT
See BUILDR-363, and my patch there.

On Thu, Jan 14, 2010 at 10:42, Antoine Toulme <antoine@lunar-ocean.com>wrote:

> OK, I'll use that. Thanks!
>
>
> On Thu, Jan 14, 2010 at 10:38, Alex Boisvert <alex.boisvert@gmail.com>wrote:
>
>> On Thu, Jan 14, 2010 at 10:22 AM, Daniel Spiewak <djspiewak@gmail.com
>> >wrote:
>>
>> > I don't think that JUnit has anything like this.  If I were you, I would
>> > look to rspec for inspiration.  When we finish running tests for a
>> project,
>> > grab the list of test names which failed and save it to a file (maybe
>> > target/failed-tests?).  Then have your run-failed-tests task (maybe
>> > test:failed?) read that file and only run those tests, rather than usin
>> the
>> > test provider to determine the set of all tests in that project.  Even
>> > better, you could still grab the list of all tests and then intersect it
>> > with the set of failed tests.  That way, you avoid running a
>> > previously-failed test which no longer exists.
>> >
>>
>> Yep, I'd take the same approach too.
>>
>> This way, the re-run task can be generic across test frameworks.
>>
>> alex
>>
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message