Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6178165
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T00:24:47+00:00 2026-05-24T00:24:47+00:00

I tried to create JUnit Test Suite in eclipse by following the steps- Right

  • 0

I tried to create JUnit Test Suite in eclipse by following the steps- Right click on the source folder -> New -> Other -> JUnit Test Suit. The issue is I am not getting the test classes under the comment ‘Test classes to include in suite'(no class is there) even though I have created Java application and corresponding JUnit test classes under the source folder.

In my source folder under default package –
Application name – test.java
JUnit test class – testTest.java and testTest1.java

As the JUnit test classes are not coming under the comment ‘Test classes to include in suite’, I am unable to create JUnit Test Suite.

Can anybody please help me to resolve this issue as I am new to JUnit?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-24T00:24:48+00:00Added an answer on May 24, 2026 at 12:24 am

    Which versions of Eclipse and JUnit are you using? If you are new to JUnit I would recommend using version 4, which uses annotations to define test methods instead of having to subclass TestCase. However, in versions of Eclipse up to 3.6 (Helios) the test suite wizard does not recognize JUnit 4 test cases.

    It looks like this has been fixed in version 3.7 (Indigo) although I have not tried it myself: https://bugs.eclipse.org/bugs/show_bug.cgi?id=155828

    You can define a test suite by hand if you want to: Junit4 Test Suites

    You might also find you can live quite happily without ever creating a test suite! To run all test cases in a package in Eclipse you can just right click the package and “Run as JUnit test”. For automated testing as part of a build I use Ant to run all test case classes with names matching a given pattern.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I tried to create this by following the video at http://www.asp.net/learn/videos/video-7026.aspx where Joe Stagner
I tried to create a Style for DataGridTextColumn with the following code <Style TargetType={x:Type
UPDATE 3: I created a Visual Studio 2008 test project and tried to create
I am very, very new to MYSQL.I tried to create a table named option.
I have a basic question: When using JUnit, in your test suite (the class
I have the following JUnit test: @Test public void testRunLocalhost() throws IOException, InterruptedException {
I tried to create a simple ComboBox: var combo1 = new Ext.form.ComboBox({ store: [1,2,3],
I tried to write an ant with JUnit test, but get below result: unittest:
I'm trying to run some JUnit test units in Eclipse 3.5, but with no
I'm facing a strange problem. All I want is to create a new folder

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.