Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

how can i runt junit test ?

mahfoudh yosser April 19, 2020

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
Lasse Langhorn
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 19, 2020

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
AUG Leaders

Atlassian Community Events