Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

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

HNITC
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
September 19, 2018

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
Gonchik Tsymzhitov
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
February 9, 2019

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
AUG Leaders

Atlassian Community Events