Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » JUnit Test Case not listed as option to choose(total beginner tutorial lesson 4 - no JUnit option available to select)
JUnit Test Case not listed as option to choose [message #814591] Tue, 06 March 2012 16:34 Go to next message
Dave Fandrey is currently offline Dave Fandrey
Messages: 1
Registered: March 2012
Junior Member
Hello, I ran into a snag while going through lesson #4 (Unit testing topic under the 16 part tutorials offered for totalbeginner). I created a new Source (test) and a new package (org.totalbeginner.tutorial) under the TotalBeginner project as directed. However, when I then right-click on this package in an attempt to select new, Junit TestCase... 'JUnit Test Case' does not appear at all on my list as it does in the tutorial. How do I get to this option so that I can continue?
Thank you for your assistance.
Dave
Re: JUnit Test Case not listed as option to choose [message #814603 is a reply to message #814591] Tue, 06 March 2012 16:50 Go to previous message
Russell Bateman is currently offline Russell Bateman
Messages: 3189
Registered: July 2009
Location: Provo, Utah, USA
Senior Member

On 3/6/2012 9:34 AM, Dave Fandrey wrote:
> Hello, I ran into a snag while going through lesson #4 (Unit testing
> topic under the 16 part tutorials offered for totalbeginner). I created
> a new Source (test) and a new package (org.totalbeginner.tutorial) under
> the TotalBeginner project as directed. However, when I then right-click
> on this package in an attempt to select new, Junit TestCase... 'JUnit
> Test Case' does not appear at all on my list as it does in the tutorial.
> How do I get to this option so that I can continue?
> Thank you for your assistance.
> Dave

Without trying the tutorial...

Have you added a JUnit library to your classpath?

Right-click your project, choose Build Path -> Configure Build Path
Click on Libraries tab.
Click on Add Library button.
Click on JUnit and Next button.
Choose JUnit version.
Click Finish.

Return to the tutorial.
Previous Topic:visual editor for eclipse IDE for Java Developers
Next Topic:How to use a properties file, internal to the Eclipse project and the jar.
Goto Forum:
  


Current Time: Wed Sep 17 19:39:43 GMT 2014

Powered by FUDForum. Page generated in 0.01770 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software