prashant-ramcharan / courgette-jvm

Multiprocess | Parallel Cucumber-JVM | Parallelize your Java Cucumber tests on a feature level or on a scenario level.
MIT License
132 stars 38 forks source link

Not able to debug test when running via @RunWith(Courgette.class) #265

Closed vasanths1 closed 3 years ago

vasanths1 commented 3 years ago

I am having issues debugging the test when running via the JUnit Runner class. All tests are running fine but not stopping at the breakpoints. If I run via the feature file then the code stops at the breakpoints.

I am using version 5.8.0.

Thank you

prashant-ramcharan commented 3 years ago

Hi @vasanths1

You will not be able to debug your tests when running the Courgette runner. This is because Courgette runs the tests in a separate process (JVM) which cannot be accessed for debugging.

You should still use the Cucumber plugin to debug your tests.

vasanths1 commented 3 years ago

Thanks for your update @prashant-ramcharan