Strict removed from CucumberOptions
SOLVED- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Strict removed from CucumberOptions
Hello everyone!
In Cucumber 7.0.0 the strict in @CucumberOptions is deprecated. So when running a test case I get the error: Unable to parse scenario probably due to unimplemented features. Which clearly shows that I cannot run a test case unless strict is a part of the CucumberOptions. Has anyone stumbled upon this issue and knows a solution for it?
Best Regards
Lisa Marie
Solved! Go to Solution.
- Labels:
-
Cucumber-JVM
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Could you please copy the feature which trigger that error?
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
It works now I found a nice workaround. Thanks!
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Could you please explain the solution you found?
That may help other users facing the same issue you had
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I thought strict was the issue all along but the issue was with the class TypeRegistryConfiguration which no longer implemented TypeConfigurer since its deprecated. So all methods needed to be re-written using the annotation @ParameterType. Stated in this example here:
[Core] Deprecate TypeRegistryConfigurer (#1799) · cucumber/cucumber-jvm@bd4cd22 · GitHub otherwise the run will crash.
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you!
