You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am unable to run Cucumber scenarios from within IntelliJ with the latest versions of serenity-core and serenitity-cucumber. The scenarios do run via maven. Previously, before the Cucumber-JVM 2.0.0 integration, I was able to run scenarios from within IntelliJ via the provided plugins. I know it is not required but it is helpful to be able to execute scenarios from within IntelliJ when implementing and debugging.
Error:
4413 [main] INFO net.serenitybdd.rest.decorators.request.RequestSpecificationDecorated - No BaseStepListener, GET https://../* not registered.
Exception in thread "main" java.lang.NullPointerException: No BaseStepListener has been registered
at com.google.common.base.Preconditions.checkNotNull(Preconditions.java:805)
at net.thucydides.core.steps.StepEventBus.getBaseStepListener(StepEventBus.java:108)
at net.thucydides.core.steps.StepEventBus.testFinished(StepEventBus.java:254)
at cucumber.runtime.SerenityBackend.disposeWorld(SerenityBackend.java:35)
at cucumber.runner.Runner.disposeBackendWorlds(Runner.java:159)
at cucumber.runner.Runner.runPickle(Runner.java:81)
at cucumber.runtime.Runtime.runFeature(Runtime.java:119)
at cucumber.runtime.Runtime.run(Runtime.java:104)
at cucumber.api.cli.Main.run(Main.java:36)
at cucumber.api.cli.Main.main(Main.java:18)
The text was updated successfully, but these errors were encountered:
Thanks,
I am able to run features directly from IntelliJ after setting up the configuration described above. Also, IntelliJ now has support for Cucumber 2.0.x. See https://youtrack.jetbrains.com/issue/IDEA-179579
Hello,
I am unable to run Cucumber scenarios from within IntelliJ with the latest versions of serenity-core and serenitity-cucumber. The scenarios do run via maven. Previously, before the Cucumber-JVM 2.0.0 integration, I was able to run scenarios from within IntelliJ via the provided plugins. I know it is not required but it is helpful to be able to execute scenarios from within IntelliJ when implementing and debugging.
Versions:
serenity-core 1.6.6
serenity-cucumber 1.5.15
Cucumber for Java IntelliJ plugin 173.3302
Gherkin IntelliJ plugin 173.3302
Error:
4413 [main] INFO net.serenitybdd.rest.decorators.request.RequestSpecificationDecorated - No BaseStepListener, GET https://../* not registered.
Exception in thread "main" java.lang.NullPointerException: No BaseStepListener has been registered
at com.google.common.base.Preconditions.checkNotNull(Preconditions.java:805)
at net.thucydides.core.steps.StepEventBus.getBaseStepListener(StepEventBus.java:108)
at net.thucydides.core.steps.StepEventBus.testFinished(StepEventBus.java:254)
at cucumber.runtime.SerenityBackend.disposeWorld(SerenityBackend.java:35)
at cucumber.runner.Runner.disposeBackendWorlds(Runner.java:159)
at cucumber.runner.Runner.runPickle(Runner.java:81)
at cucumber.runtime.Runtime.runFeature(Runtime.java:119)
at cucumber.runtime.Runtime.run(Runtime.java:104)
at cucumber.api.cli.Main.run(Main.java:36)
at cucumber.api.cli.Main.main(Main.java:18)
The text was updated successfully, but these errors were encountered: