• 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
JUnit test method generation
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

JUnit test method generation


  • Subject: JUnit test method generation
  • From: Ramsey Lee Gurley <email@hidden>
  • Date: Sat, 12 Dec 2009 11:14:47 -0500

Hi all,

I'm wondering if there is an easier way to generate a JUnit test method stub for a test class that already exists.  Let's say I have a class Foo with method bar().  When I generate the JUnit test FooTest in eclipse, I can select the methods and generate the source stub for testBar() and all the other methods on the class.  Now if I add the method baz(), is there an easy way to generate the stub for that test method, or do I have to key them in manually ever after?  Is there some way to link the two classes so that Eclipse automatically generates the test methods as new methods are added to the class?

Ramsey

Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
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: JUnit test method generation
      • From: Ray Kiddy <email@hidden>
  • Prev by Date: Re: JUnit4 testing of EOs: InvocationTargetException on subsequent runs
  • Next by Date: Re: JUnit test method generation
  • Previous by thread: Re: Interesting
  • Next by thread: Re: JUnit test method generation
  • Index(es):
    • Date
    • Thread