Can Junit Parser collect multiple test results in the same directory?

I have a bamboo plan and have Junit Parser as one of the tasks for its run.

My tests generate multiple test results and they are all placed in the same directory. For example I have these under the working sub directory:

  • tests/foo.xml
  • tests/foolib.xml
  • tests/fooutil.xml

In the JUnit Parser, I put test/* for the custom results directories. When I run, I only get results from the last file, which is fooutil.xml. Is this expected? Does bamboo only pick up one test results file per directory?

This is bamboo 3.3.2 build 2718.

Thanks

1 answer

This widget could not be displayed.

I think you have to use ant-style regexp: http://ant.apache.org/manual/dirtasks.html#patterns

So, looking at your example I'd guess you have to specify "test/**" - double asterisk instead of single one.

edit: hm... after looking once again at the issue it seems to me that this shouldn't be relevant...

Thanks for answering. I really appreciate it. I will try your suggestions. All though, I may have found the reason for the test results from a file not being picked up by bamboo. I'll post another question for that.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted yesterday in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

52 views 0 1
Join discussion

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