I use GoogleTest to test the software on our team. It generates a JUNit compatible (I believe) XML Test Report. I already have the tests running automatically as a part of our Bamboo build, but I haven't figured out how to configure the JUnit Test Job properly to parse the generated XML.
Can somebody help me with a working example? I just need to know where to put the .XML file, and how to configure the job to properly see/parse it.
Thanks a ton,
Something like this should do the trick:
Set up a task that produces the results in XML format:
./SomeGTest --gtest_output=xml:SomeGTest.xml exit 0
And follow up with JUnit Test Parser task pointed to the XMLs you generate.
I understand that. What I'm confused with is the information to enter in to the JUnit Parser task. (Screenshot's not working for me)
Basically, I want to know two things:
Where is that relative to your bamboo-home directory?
It's relative to your build directory, not bamboo-home directory. If you don't use absolute paths for storing xml files (which you should), that's where the files will end up.
<tt>If you need to know the build direcotyr location, Bamboo makes it available via build.working.directory.
More information here: http://confluence.atlassian.com/display/BAMBOO/Using+Global%2C+Plan+or+Build-specific+Variables</tt>
Atlassian Summit is an excellent opportunity for in-person support, training, and networking.Learn more
Hey everyone! My name is Natalie and I'm an editor of the Atlassian Blog and I've got a question for you: What's your favorite quote about teamwork? We've compiled a list here, along with...
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!
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