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

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

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Renan Battaglin
Published May 18, 2017 in Bamboo

FAQ: How to Upgrade Bamboo Server

Bamboo 5.9 will no longer be supported after June 12, 2017. What does this mean? As part of our End of Life policy, Atlassian supports major versions for two years after the first major iteratio...

1,489 views 0 5
Read article

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