Next-Gen App & Browser
Testing Cloud

Trusted by 2 Mn+ QAs & Devs to accelerate their release cycles

Next-Gen App & Browser Testing Cloud

How to create a Test suite in eclipse?

To create a test suite in eclipse, follow these steps:

  • Open eclipse and navigate to the project you want to create the test suite.
  • Right-click on the project in the package explorer pane and select "New" from the context menu.
  • In the new window, select "JUnit" from the list of available options and then select "JUnit Test Suite" from the sub-menu.
  • Click "Next" to proceed to the next step.
  • In the next window, you can specify the name and location of the test suite. Make sure to select a site that is within the project's source folder.
  • Click "Finish" to create the test suite.
  • Once the test suite has been created, you can add individual test cases by right-clicking on the test suite in the Package Explorer pane and selecting "Add New Test" from the context menu.
  • In the next window, you can specify the name and location of the new test case. Make sure to select a location within the test suite's package.
  • Click "Finish" to create the test case.

Repeat the above steps to add additional test cases to the test suite.

Once you have added all of the test cases to the test suite, you can run the entire test suite by right-clicking on the test suite in the Package Explorer pane and selecting "Run As" for "JUnit Test" from the context menu.

This will execute all test cases in the test suite and display the results in the JUnit view.

For a step-by-step guide, refer to our tutorials on Test suite and on JUnit Testing.

Test Your Website on 3000+ Browsers

Get 100 minutes of automation test minutes FREE!!

Test Now...

KaneAI - Testing Assistant

World’s first AI-Native E2E testing agent.

...
ShadowLT Logo

Start your journey with LambdaTest

Get 100 minutes of automation test minutes FREE!!

Signup for free