Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Maven Build - No Test found

Hello,

Our java project uses maven to build and the project uses JUnit to let maven to run internal unit tests automatically. However, for every build process, the total test in each build is shown as zero. But in the log file, we see every build action triggers a set of unit tests and logs are shown to unit test results.

Would you advise where we need to configure such that Bamboo build can detect how many tests are included in a build process ?

Thanks,
Raymond

1 answer

0 votes

Hi @Ray_Lee

Bamboo identifies the number/details of tests from test results. This is not an automatic task. Actually, you need to create a task to parse the results considering their file name, location, and format.

These are the parsing tasks you will find by default e.g. Bamboo 6.8.x:

The first one in the list is the one you need to configure to parse the test results your build is generating. Once that task is added and correctly configured you should be able to see the tests passing and failing for each build.

Please let me know if you face any issues with this.

Thanks Daniel.

May I know if JUnit test parser available for Bamboo version earlier than 4.x ? 

Thanks,

I was able to find reports for issues related to JUnit parsing for really old versions of Bamboo (before 4.x). While I cannot tell you precisely how the parser task was implemented in that time neither how the UI of it looked like (we are talking about a version of Bamboo released 7 years ago), I can tell that some resource was available.

I hope that is helpful.

thanks for your reply

 

Sincerely,

Raymond

Like Daniel Santos likes this

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Bamboo

Bamboo Data Center on Kubernetes

Hi, If you are running self-managed environments and looking to adopt modern infrastructure, Bamboo Data Center can now be deployed in a Kubernetes cluster. By leveraging Kubernetes, you can easily...

58 views 0 4
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you