Test Fails When Running with Tag: Double Parameter Default Issue
Hey, fellow community,
I'm facing an intriguing issue with one of my tests, and I was hoping to get some insights from you all. Here's the problem:
I have a test that includes an optional double parameter, and its default value is set to 10000. When I manually run the test, everything works perfectly, and the default value of 10000 is used as expected.
However, the trouble starts when I try to run the test using the tag. I use the right-click option on the project and run the test with the tag '@tag'. Surprisingly, the test fails, and upon further investigation, I noticed that the value used for the double parameter is 0 instead of my intended default value of 10000.
I've already double-checked the tag setup and made sure everything looks correct. It's puzzling why the default value is being ignored when using the tag, leading to the failure.
Has anyone encountered a similar issue before or have any ideas about what might be causing this discrepancy? I'd greatly appreciate any suggestions, tips, or experiences you can share to help me troubleshoot this problem and get my test running successfully with the tag.
Thank you all in advance for your support and insights!
FYI, for now a workaround that works is to create another test that simply call this the parametrized test and set the tag on that new test.
However i think that this is a bug.