trivago/cucable-plugin

Not a directory

Hanumanthap24 opened this issue · 4 comments

Hi,

When I run my test in IntelliJ using CucableJavaTemplate provided in the example, I am getting the below error .Could you please advise?

java.lang.IllegalArgumentException: Not a file or directory: C:\Users\MyName\Downloads\Parallel\target\parallel\features[CUCABLE:FEATURE].feature

Thanks,
Hanumantha

This is a template, not a runner. Are you trying to run the template without running Cucable? Please give me some more details.

Did not understand what do you mean by running cucable.I have placed my feature files exactly at the location Project/target/parallel/features. and Clicked on Run .You have any YouTube video,that helps.

Have you tried running the example project? Because this shows you exactly how it works.

Placing your feature files in target is NOT correct. This is something that Cucable does when you invoke it. Also clicking on run in your IDE will not do anything since Cucable is a Maven plugin that needs to be run via Maven.

Thanks for the help.I am now able to run my tests.