Re: "catching" test failure/error (or more generally failure within calls)

2007-09-24 Thread Geoffrey Mitchell
Use the "failureproperty" attribute of the junit task to set a property on failure. How to propagate that back to your top level build is another question. You could write out a file and check for it, I suppose. Greg Irvine wrote: I would like to fail our build on junit test failure and sti

"catching" test failure/error (or more generally failure within calls)

2007-09-24 Thread Greg Irvine
I would like to fail our build on junit test failure and still produce the junit report. Easy enough generally, however, our build runs somewhat similarly to make in that I have an ant properties file in each folder that describes the list of folders to build within that folder, and using common i