cyber-dojo / web

repo for the cyberdojo/web Docker image; a cyber-dojo microservice

Home Page:https://cyber-dojo.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SpecFlow: incomplete feature file removal

szabopeter opened this issue · comments

After removing the sample feature file and step definitions, its tests are still executed. Maybe the .feature.cs files are not removed?
Example:
http://cyber-dojo.org/review/show/A80C07458B?avatar=bat&was_tag=8&now_tag=9

HikerSpec.feature and HikerSteps.cs are removed, but the output shows that the code generated from the HikerSpec.feature (ASimpleSpecificationToStartYouOffFeature) is still used and of course, failing.

Added an 'rm *.feature.cs' line to cyber-dojo.sh, right before the 'code-behind' generation solved the problem.

Good catch. I've made the change in
https://github.com/cyber-dojo-languages/csharp-specflow
It will appear on cyber-dojo.org in the next few days.
Thanks