Run a JUnit test in IntelliJ and Eclipse IDEs
Preconditions (3)
Step 1: Open the IDE and load the Java project with JUnit tests
Step 2: Locate the test class named CalculatorTest.java
Step 3: Right-click on CalculatorTest.java file
Step 4: Select 'Run CalculatorTest' option from the context menu
Step 5: Wait for the test execution to complete
Step 6: Observe the test results in the IDE's test runner window
✅ Expected Result: The test runner window shows that all tests in CalculatorTest.java passed successfully with green indicators