Skip to content
Advertisement

Tag: cucumber-jvm

Getting an exception “org.apache.maven.surefire.booter.SurefireBooterForkException: . VM crash or System.exit called?”

I am working on a Selenium Automation project which is based on Maven Cucumber + TestNg. While on run i am getting the below exception not sure but tried all the possibilities of incrementing or decrementing the Surefire versions. Error occurred in starting fork, check output in log Process Exit Code: 1 org.apache.maven.surefire.booter.SurefireBooterForkException: The forked VM terminated without properly saying

Why does cucumber run @Before in all glue code files

I have a problem with my cucumber tests. It runs the @Before method in all the glue classes. For example. This feature file have one glue code in the MainStepDef.class. The MainStepDef: I have an additional glue file called: OtherStep.class And finally I have my runner class. When I run this I get the runtime exception from the OtherStepDef setup

Advertisement