Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

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