Skip to content

Fix example matching for VSTest #528

Merged
dirkrombauts merged 2 commits intopicklesdoc:developfrom
jvandertil:fix-vstest-naming
Jun 15, 2018
Merged

Fix example matching for VSTest #528
dirkrombauts merged 2 commits intopicklesdoc:developfrom
jvandertil:fix-vstest-naming

Conversation

@jvandertil
Copy link
Copy Markdown

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
Copy Markdown
Author

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

@dirkrombauts
Copy link
Copy Markdown
Member

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

@dirkrombauts
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
Member

Bedankt!

@dirkrombauts dirkrombauts mentioned this pull request Jul 20, 2018
@dirkrombauts
Copy link
Copy Markdown
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