-
Notifications
You must be signed in to change notification settings - Fork 64
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
XCTestCase stubbed generator from native feature files #55
Comments
@nap-sam-dean Do you mean the Gherkin feature files are converted to Swift style gherkin files, or do you mean to generate StepDefiner subclasses with template step definitions? Just to be sure I understand what you exactly want to achieve here. Some thoughts:
|
|
It would be good to keep the .feature files. We want to version them: Imagine there is a new version of gherkin tests - eg. new scenario in a .feature file - than the tests run and they fail. This alarms the developer and he needs to implement the new scenario. This would prevent updating the .feature file without noticing. At least I hope :) |
On my current project, we are not using feature files but that's something I'm actively looking into For templating purposes, we can use Stencil. I already have a WIP implementation, but it depends on a few other changes that should go in first (i.e. #119) This can improve a lot the workflow when using feature files as we could use the same command line tool to invoke This can also help teams who want to migrate from feature files to do it just with on command. |
A script which would run over a feature file and create a stubbed XCTestCase implementation in swift.
The text was updated successfully, but these errors were encountered: