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

Fix example matching for VSTest #528

Merged
merged 2 commits into from
Jun 15, 2018

Conversation

jvandertil
Copy link

Implements the VSTestScenarioOutlineExampleMatcher to detect example tests that are generated with the _Variant# naming style.

This naming style is used when examples contain characters that are illegal in method names in C#, or when the first column of the examples contains duplicate values.

Also fixes an issue with building Pickles on a clean checkout, a package reference was missing for SpecFlow.

This fixes issue #507.

Possible issues with this PR: I have added the examples to the ScenarioOutline in the StandardTestSuite as this is the only way (I know of) to match the examples back to the test results. I've tested this with a couple of SpecFlow feature files and the examples are filled then, just not when running the unit tests.

@jvandertil jvandertil force-pushed the fix-vstest-naming branch 3 times, most recently from 06d2d93 to 854ef80 Compare May 23, 2018 21:16
@jvandertil
Copy link
Author

ping @dirkrombauts, did you have a chance to look at this?

@dirkrombauts
Copy link
Member

Not yet - as it happens, I have some time site aside for Pickles today :-)

@dirkrombauts
Copy link
Member

Hi,

Thanks for your contribution. It looks good.

However, due to some other pull requests, your code is now behind picklesdoc/develop. Please merge those changes into your feature branch. As soon as you do that, I'll merge your pull request.

Implements the VsTestScenarioOutlineExampleMatcher to detect _Variant style examples.
These occur when there are examples which contain characters that are illegal for method names,
or when examples contain duplicate values in the first column.

Fixes picklesdoc#507
@jvandertil
Copy link
Author

I rebased my branch on top of develop. Should be ready to merge.

@dirkrombauts dirkrombauts merged commit 09b8f97 into picklesdoc:develop Jun 15, 2018
@dirkrombauts
Copy link
Member

Bedankt!

@dirkrombauts dirkrombauts mentioned this pull request Jul 20, 2018
@dirkrombauts
Copy link
Member

Released in version 2.19.0

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.

2 participants