Skip to content

Comments

Fixing incorrect logic when reducing to root test suite. Adding flags to allow for not reducing to root test suite.#331

Open
EvanHampton-Seequent wants to merge 1 commit intocsoltenborn:masterfrom
EvanHampton-Seequent:master
Open

Fixing incorrect logic when reducing to root test suite. Adding flags to allow for not reducing to root test suite.#331
EvanHampton-Seequent wants to merge 1 commit intocsoltenborn:masterfrom
EvanHampton-Seequent:master

Conversation

@EvanHampton-Seequent
Copy link

Potentially resolves #330. This change fixed the problem I was facing, but it may not necessarily be correct for all cases. Will need to have a conversation about what the correct fix is. Making this PR to get that conversation started, and make the issue I created possibly make more sense.

… to allow for not reducing to root test suite.

if (allMatchingTestCasesToBeRun.Count == metaData.NrOfTestCasesInSuite)
if (allMatchingTestCasesToBeRun.All(_testCasesToRun.Contains)
&& allMatchingTestCasesToBeRun.Count == _testCasesToRun.Count)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Now that I think about it, this still may not be strictly correct.

@csoltenborn
Copy link
Owner

Hi and thanks for your PR! I currently do not have much time to work on GTA, but I will try to look into this on Sunday...

@EvanHampton-Seequent
Copy link
Author

Thanks for getting back to me @csoltenborn - no rush :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Unexpected values passed in to --gtest_filter command line option when using GTA with VSTest.Console.exe

2 participants