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
4,362,731
Community Members
 
Community Events
168
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 

Capture.PNGCapture.PNGCapture.PNG

1 answer

0 votes

Hi,

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.

Regards

Lasse Langhorn

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events