Tuesday 15 March 2016

Configure JUnit Testing Framework with Eclipse

Hi everyone this is going to be very short and simple. We are going to configure our Eclipse project to write and run our test cases with Junit framework. Junit is very commonly used testing framework and if you don not want to use Junit then you can also go with TestNG framework. In this post we will focus of Junit.

It is just simple 2 minutes job to configure Junit if you follow below steps -
1. Right Click on you project in eclipse.
2. Click on Properties -> Build Path -> Add Libraries

3. Select Junit and Click Next

4. Select Junit4 and Click Finish

1 comment: