Re: JUnit4 testing of EOs: InvocationTargetException on subsequent runs
Re: JUnit4 testing of EOs: InvocationTargetException on subsequent runs
- Subject: Re: JUnit4 testing of EOs: InvocationTargetException on subsequent runs
- From: Paul Hoadley <email@hidden>
- Date: Sun, 6 Dec 2009 10:29:18 +1030
Definitely the last time I will reply to myself:
On 05/12/2009, at 10:01 PM, Paul Hoadley wrote:
> 4. The suite will run and all tests pass _the first time_. If I hit the JUnit pane's "Rerun Test" button, though, it fails on subsequent runs in AddressTest.beforeAddressTest() at the line above calling ContactSet.createContactSet() with:
It's actually worse than that: it will pass the first time, and then randomly pass or fail on subsequent runs. If I keep hitting "Rerun Test", I get an apparently random chain of passes and fails. While this certainly makes unit testing interesting, it's not ideal. :-)
--
Paul.
w http://logicsquad.net/
h http://paul.hoadley.name/
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden