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

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

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events