Forum Discussion

flaviomeira's avatar
flaviomeira
New Contributor
13 years ago

What's the best way to run tests within Bamboo (Continuous integration)?


I added a new ANT Task to our plan and it is working fine. 


The problem is that Bamboo looks for test output in JUnit XML format.


 


I think there are three ways to solve it:


Is there other task I could use instead of an ANT task?


Is there any way to save results (test results) in JUnit XML format?


Does anyone have an environment like this?

3 Replies


  • Hi Tania,


    Thanks for trying to help me.


    I implemented a solution to solve this problem:


     - As I had an ANT task to call my Testcomplete project, I created a java project (using JUnit) to run it;


     - So I added an "assert" to verify the execution's return;


     - In Bamboo, I created a task to run this java project (an ant task)


     


    This way, when any test fails the application build is not completed (that's what I wanted).


    This solution has a lot to improve. But it's working well.


  • Hi Flavio,


     


    TestComplete results can be exported to different formats - go through the "Exporting Test Results" article for details.


     


    I have never tried using Bamboo with TestComplete. Is there anybody who can share your experience with this?