JUnit Parser - Specify custom results directories

My plan creates xml files in a subfolder relative to the working directory. I would like JUnit Parser to use the xml files. If they are located in the working directory, everything is OK. I cannot convince JUnit Parser ('Specify custom results directories') to look for xml files in subdirectory 'test1'. I have tried:

**/test1/*.xml

test1/*.xml

test1

test1/output1.xml (where output1.xml is an existing file in test1 folder)

*/test1/*.xml

*/*.xml

 

I keep getting the following message:

Failing task since test cases were expected but none were found.

 

What is the correct syntax to tell JUnit Parser to look for xml files in a subdirectory test1?

1 answer

1 accepted

0 votes
Accepted answer

Figured it out - it was a syntax error in python script creating xml files.

Suggest an answer

Log in or Sign up to answer
Community showcase
Asked Thursday in Jira Ops

I'm John Allspaw, Ask Me Anything about incident analysis and postmortems

I'm John Allspaw, co-founder of   Adaptive Capacity Labs, where we help teams use their incidents to learn and improve. We bring research-driven methods and approaches to drive effective inciden...

5,298 views 21 17
View question

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you