I updated VS 2015 to VS 2017 and I have latest versions for Specflow and nUnit. At VS2015 all worked fine, now at VS2017 test explorer I see duplicated tests and folders where feature files is. Duplicated specflow tests I was forced disabled all extensions for test explorer, it fixed issue when you can't go to feature file from tests explorer.
1
votes
2 Answers
2
votes
0
votes
You'd want to change the feature file property 'Copy to Output Directory' from possibly 'Copy if Newer' or 'Copy Always' to 'Do not Copy'. This will ensure that your feature file present in the project directory is not copied to bin\Debug. In such an event, Visual Studio Test Explorer detects two feature files and hence the duplication.
Change value of parameter, Copy to Output Directory to "Do not copy"