• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: JUnit4 testing of EOs: InvocationTargetException on subsequent runs
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: JUnit4 testing of EOs: InvocationTargetException on subsequent runs
      • From: Mike Schrag <email@hidden>
References: 
 >JUnit4 testing of EOs: InvocationTargetException on subsequent runs (From: Paul Hoadley <email@hidden>)

  • Prev by Date: Re: JUnit4 testing of EOs: InvocationTargetException on subsequent runs
  • Next by Date: Re: JUnit4 testing of EOs: InvocationTargetException on subsequent runs
  • Previous by thread: Re: JUnit4 testing of EOs: InvocationTargetException on subsequent runs
  • Next by thread: Re: JUnit4 testing of EOs: InvocationTargetException on subsequent runs
  • Index(es):
    • Date
    • Thread