Monday 12 September 2016

Installation of Junit with Maven

As we have seen that we can use Junit with any Maven project now let us learn that how to use it with Maven. 

Consider you have a Mane Project. Then open your project's Pom.xml file and copy the below code.


Once the code is copied you can go to command line and navigate to your project directory
execute command  mvn clean and mvn compile and check that build is successful this means you are good to go. 

This blog post is for people using Maven project. So I have not added details of what is Maven and how to install Maven .


Post a Comment