Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

how can i runt junit test ?

i want to use junit parser to use my unit tests on my project . 

when I run it I get this error 


1 answer

0 votes


If your java project is using Maven you should use a Maven task like Maven 3.x and then define a Maven goal like this for the task:

clean install

This will run the unit tests you have in your Java project.

The Junit Parser is used for parsing the unit results you have in your project not actually running the tests.

Hope this makes sense.


Lasse Langhorn

Suggest an answer

Log in or Sign up to answer

Atlassian Community Events