Skip to content
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

dryRun=true not working (or provide a way to check for validity of feature files) #434

Closed
slaout opened this issue Jun 22, 2018 · 4 comments

Comments

@slaout
Copy link
Contributor

slaout commented Jun 22, 2018

I'd like to have a test with this:

@CucumberOptions(..., dryRun = true)

I'd like to execute this just to check the feature files are well-formed (from a Gherkins/Cucumber point of view).
This is to automatically validate a merge-request of .feature files modifications, without having to run these heavy .feature files.
It's the first layer of safety.

Currently, Karate ignores this Cucumber flag.

Or perhaps a special mode that would also check there is no "compilation" error on the syntax of JavaScripts and JsonPaths without running them... But I think that would be complicated on your part, so I don't need this.

@ptrthomas
Copy link
Member

this goes into "help wanted" as well considering also that no-one has ever requested this. I actually prefer your second option because I plan to drop cucumber at some point.

@slaout
Copy link
Contributor Author

slaout commented Jun 23, 2018

Oh! Do you have any idea of how Karate would look like without Cucumber? Will it still use Gherkin syntax? Will it be a super- or sub-set? What advantages? What removals? What additions?

@ptrthomas
Copy link
Member

ptrthomas commented Jun 23, 2018 via email

@ptrthomas
Copy link
Member

closing as duplicate of #444 - that ticket will be used to track the switch away from cucumber.

sounds like this is increasingly becoming an issue. only for folks having to mix Cucumber and Karate (yuck!) but still.

for those watching this list and reading the comments - can you help me understand if the Eclipse and IntelliJ Cucumber IDE support works fine with Cucumber 2.X and 3.X ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants