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

How to read feature files from sub/sub directory #341

Closed sobi-ki closed 2 years ago

sobi-ki commented 2 years ago

Hi @prashant-ramcharan

Can you please confirm if this framework support 3 or 4 levels down feature file detection?

I am using the following

cucumberOptions = @CucumberOptions( features = "src/main/resources/features",

The feature file lives in this format (src/main/resources/features/folder1/folder2/folder3/folder4/sample.feature

When I call the tag to run the test I get the following error:

`Execution failed for task ':test'.

No tests found for given includes: [org.ki.runners.CourgetteChromeRunner](--tests filter) `

Note: If I move the sample.feature to folder1 then the test runs.

Do you have a solution for this?

Thanks in advance

sobi-ki commented 2 years ago

This is due to having ignored tags.