Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,298,029
Community Members
 
Community Events
165
Community Groups

Bamboo doesn't show any unit tests for .NET Core 2.1 Project

Hi,

I am currently blocked by an issue in Bamboo. Bamboo will not show any available Tests in the web gui table.

I ran the test with the following command...

# display all available unit tests in test project
dotnet test ${bamboo.sourceTestProjectFile} -t
   
# run unit tests and log results to trx file
dotnet test ${bamboo.sourceTestProjectFile} -l:"trx;LogFileName=testresults.trx"

I read somewhere on the Internet, that I have to run msparse on the the testresult file testresult.trx. But everytime my build fails as no testresult could be found?! But they are there.

What do I have to do to run Tests in Bamboo so that it will be displayed on the web gui screen list...

1 answer

0 votes

Hi! 

 

e.g.

You need export as xml for Junit format, 

then set into your plan final task Junit4 parser, after that you will see result on the panel.

 

 

Cheers,

Gonchik Tsymzhitov

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...

955 views 3 8
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