The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Test count in Bamboo differs from Visual Studio

Holger_PHAG
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!
June 23, 2023

Good morning Atlassian Community,

since a few months I am creating an automatic test project in Visual Studio for Dotnet services and also in Bamboo that tests are executed via

dotnet test ...

and then evaluated via "MSTest Parser". So far so good and everything worked as expected until now.

But since the newest commits I experience differences between the test counts locally in Visual Studio (as shown 216)

image-2023-06-22-16-04-23-287.png

and the test count in Bamboo (174).

AutomaticTests  Bamboo.png

Looking into the Bamboo logs the count of tests is just as expected 216.

image-2023-06-22-16-02-25-760.png

What is different in the new commits are test cases using [MemberData(...]. Before that test cases with MemberData the count of tests have been identical in Visual Studio and Bamboo.

Has anyone ever made the same observation and are there any suggestions on how to get back to the correct number of tests in Bamboo?

With best regards
Holger@PHAG

0 answers

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

TAGS
AUG Leaders

Atlassian Community Events