Re: Running tests that failed during last run

2010-01-15 Thread Alex Boisvert
Sweet!! I'm off for the weekend... will take a look when I'm back. alex On Fri, Jan 15, 2010 at 10:59 AM, Antoine Toulme anto...@lunar-ocean.comwrote: See BUILDR-363, and my patch there. On Thu, Jan 14, 2010 at 10:42, Antoine Toulme anto...@lunar-ocean.com wrote: OK, I'll use that.

Re: Running tests that failed during last run

2010-01-14 Thread Daniel Spiewak
That's certainly a contribution I would be interested in. As I recall, there is currently a way to fake it, but I can't remember exactly how we do it right now. Daniel On Thu, Jan 14, 2010 at 11:37 AM, Antoine Toulme anto...@lunar-ocean.comwrote: Is it possible as of today to have Buildr run

Re: Running tests that failed during last run

2010-01-14 Thread Alex Boisvert
Yes, yes, yes :) On Thu, Jan 14, 2010 at 9:37 AM, Antoine Toulme anto...@lunar-ocean.comwrote: Is it possible as of today to have Buildr run the tests that failed during the latest run (and only them) ? If not, would that be an interesting contribution ? Thanks, Antoine

Re: Running tests that failed during last run

2010-01-14 Thread Antoine Toulme
I was thinking there was maybe something bundled in junit to do that and that we just need to press the right buttons. Totally ignorant of other test frameworks, but I can try with junit first and we could expand. On Thu, Jan 14, 2010 at 09:56, Alex Boisvert alex.boisv...@gmail.comwrote: Yes,

Re: Running tests that failed during last run

2010-01-14 Thread Daniel Spiewak
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

Re: Running tests that failed during last run

2010-01-14 Thread Antoine Toulme
Yeah, I know that's what buildr does (rake failed) for its own tests. Exactly what I want, but for junit. I might be able to reuse the reports *.xml and get the failures from there without using a file for it. On Thu, Jan 14, 2010 at 10:22, Daniel Spiewak djspie...@gmail.com wrote: I don't

Re: Running tests that failed during last run

2010-01-14 Thread Alex Boisvert
On Thu, Jan 14, 2010 at 10:22 AM, Daniel Spiewak djspie...@gmail.comwrote: 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

Re: Running tests that failed during last run

2010-01-14 Thread Antoine Toulme
OK, I'll use that. Thanks! On Thu, Jan 14, 2010 at 10:38, Alex Boisvert alex.boisv...@gmail.comwrote: On Thu, Jan 14, 2010 at 10:22 AM, Daniel Spiewak djspie...@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