-
Notifications
You must be signed in to change notification settings - Fork 69
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
[idea] Detect unused steps #150
Comments
I second this option, from a more generic standpoint: running spinach --generate should be idempotent, creating steps that are missing, and tagging those that are not used as "depricated", or something like that, even if the step file already exists. What I'm finding is that I write the feature, and then either find a different way to word the steps or there are parts of the feature I've missed, and need to add them after I've generated the step file. If spinach were able to do this, it would save me a lot of time updating the step files when I need to make a change to the feature files, and the cost to "just do the simplest thing that works" now and change the feature later goes down, making it easier to write tests sooner and modify them when the business requirements change. |
Any news on this? |
I liked this idea so I implemented something that might go some way towards it: #194. With my PR, if you add |
We are going to a refactoring of our tests.
What we've started to see is that we have lingering test steps hanging around.
Is there a way to do the inverse of "missing steps"? If not, can you point me to the parts that I would need, and we'll build it and contribute back!
The text was updated successfully, but these errors were encountered: