Creating a JUnit plug-in test

Create the test that will be used to test the plug-in.

  1. Select File > New > Other > Test > TPTP JUnit Plug-in Test. If you see the New Test Case dialog asking you if you want to add some libraries on the build path, click Yes.
  2. Click Next.
  3. Select either 'In the test editor' or 'In the code editor' for the test behavior option. See JUnit Test Suite Editor for a detailed explanation of these options.
  4. Click Next and provide the test's name and location.
  5. Click Next and provide a description if required. Click Finish.

You now have a JUnit plug-in project test named EclipseUiTest.

Related concepts
JUnit Test Suite Editor