Strict removed from CucumberOptions
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?
Solved! Go to Solution.
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.