Skip to content

Eclipse JUnit Tutorial

Mohsen Vakilian edited this page Apr 24, 2014 · 1 revision

The Eclipse project comes with a JUnit test. You can run this test to ensure that your code changes do not break the program. Please make sure that the <ProjectName>Test passes after your code changes, where <ProjectName> is the name of the Eclipse project.

Running JUnit Test

To run <ProjectName>Test, right-click on launch/<ProjectName>Test.launch and select Run As > MSTTest. See the figure below for a screenshot.

A screenshot that shows how to run an Eclipse JUnit test

Clone this wiki locally