Search code examples
intellij-ideacucumber

Test Framework quit unexpectedly - Cucumber Test - Intellij Via Feature file


When i run my cucucumber Test via Runner class, they run fine but when Run via Feature file i get this error in Intellij Idea 2020.3

Test framework Quit unexpectedly

enter image description here

Below is a successful run via Runner class

enter image description here

please let me know where i am going wrong when running via feature file

Also attaching the configuration after looking at existing answers

enter image description here

here is the code https://github.com/gauravkhuraana/RestAssured_ToolsQA


Solution

  • Thank you @y.bedrov for the guidance

    Adding the below in Main Class for configuration

    io.cucumber.core.cli.Main
    

    and adding just the folder name (not full path) for StepDefintion in configuration has fixed this problem

    enter image description here