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
Automatically include TechTalk.SpecFlow.MSTest.SpecFlowPlugin.dll as a deployment item for MSTest V2 #2301
Conversation
This will always put a Could you only add the attribute, if there is a deployment item somewhere in the feature file set? |
…a deployment item for MSTest V2 Fixes #2076
Done. Thank you. |
Cool, thanks for the change. |
Thank you. I also considered that case and so I tested adding According to https://docs.specflow.org/projects/specflow/en/latest/Integrations/MsTest.html: Tags for TestClass Attributes |
Strange, because I just found code for it on Scenario/method level: https://github.com/SpecFlowOSS/SpecFlow/blob/master/TechTalk.SpecFlow.Generator/UnitTestProvider/MsTestV2GeneratorProvider.cs#L100 |
It seems that code was added as part of #1671 but no tests were created specifically for it. |
I'm wondering if any code coverage tools could have picked up the untested code. 🤷🏼♂️ |
Also see #803 (comment). The original implementation only supported the tag on the feature level. |
I added a PR to add the missing test for this: #2302 |
Ok, I had a deeper look at it. DeploymentItems on Scenario level are still only half-implemented. They are missing in I would merge this PR now @icnocop and create an issue for fixing the implementation. Ok? |
@icnocop I merged it now, because we are before a release and want to include this in it, as it changes the code-behind file generation. |
Thank you. |
Thanks for your contribution to SpecFlow @icnocop! |
…a deployment item for MSTest V2 (SpecFlowOSS#2301) Fixes SpecFlowOSS#2076 Co-authored-by: Andreas Willich <SabotageAndi@users.noreply.github.com>
Fixes #2076
Types of changes
Checklist: