Executing a JUnit test

Executing a JUnit test


Posted in : Java Posted on : November 23, 2010 at 7:01 PM Comments : [ 0 ]

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 :

     

  •  

Go to Topic «PreviousHomeNext»

Your Comment:


Your Name (*) :
Your Email :
Subject (*):
Your Comment (*):
  Reload Image
 
 

 
Tutorial Topics