0

Here's my Code

@CucumberOptions(       
    features = "src/testresources",
    glue={"Nismo.live.stepsdefinition"},
    tags = {"@CreateNewCourse.Feature,@CreateNewUserAndEnrolledToaCourse.Feature,@LoginLockout.Feature,@LoginOnNismo.Feature,@StudentCarryoverAttempresults.Feature"}           
)

public class CucumberRunnerNismo {
}

Error:

None of the features at [src/testresources] matched the filters: [@CreateNewCourse.Feature,@CreateNewUserAndEnrolledToaCourse.Feature,@LoginLockout.Feature,@LoginOnNismo.Feature,@StudentCarryoverAttempresults.Feature]

0 Scenarios 0 Steps 0m0.000s

André Kool
  • 4,880
  • 12
  • 34
  • 44
  • i also tried this code but no avail @CucumberOptions( //plugin = { "pretty", "html:target/html-report/","json:target/cucumber-json-"+"report.json"}, features = "src/testresources", glue={"Nismo.live.stepsdefinition"}, tags = {"@CreateNewCourse,@CreateNewUserAndEnrolledToaCourse,@LoginLockout,@LoginOnNismo,@StudentCarryoverAttempresults"} ) public class CucumberRunnerNismo { } – arturo guinto Mar 14 '18 at 06:34
  • 1
    What happens when you remove all the tag filters? – Grasshopper Mar 14 '18 at 08:23
  • Refer to this answer => [Run Multiple Files](https://stackoverflow.com/a/45093925/11617138) – Athar Shah Oct 04 '21 at 13:48

1 Answers1

0

features = "src/testresources", => does this need to be features = "src/test/resources"? And/or remove the tags like Grasshopper suggested.

Marit
  • 2,399
  • 18
  • 27