This section contains the detail about Executing a JUnit test with Eclipse.
Executing a JUnit test
-
Right click on your new test class and select Run-As-> Junit Test.
-
On left, following window will appear :
-
The output is showing green flag means your test is successful, if it showing red, it means class have some failures or errors.
-
It also show you the methods which have errors, in the same window shown above in the previous slide. It will show you the Failure Trace.
-
If it has error, it will show error some thing like this :
[ 0 ] Comments