java.lang.IllegalArgumentException: Not a file or directory: /src/test/java/com/project/cucumber/cucumber

  1. 0

    automated testing - cucumber java.lang.IllegalArgumentException: Not a file or directory: - Software Quality Assurance & Testing Stack Exchange

    stackexchange.com | 5 months ago
    java.lang.IllegalArgumentException: Not a file or directory: /src/test/java/com/project/cucumber/cucumber
  2. 0

    cucumber java.lang.IllegalArgumentException: Not a file or directory:

    Software Quality Assurance & Testing | 2 years ago | Saleh Qadan
    java.lang.IllegalArgumentException: Not a file or directory: /src/test/java/com/project/cucumber/cucumber
  3. 0

    Re: [Cucumber] [JVM] Supply feature files to Cucumber-jvm test runner

    Google Groups | 4 years ago | Aslak Helles√ły
    java.lang.IllegalArgumentException: Not a file or directory: C:\Users\tim\Documents\NetBeansProjects\tests
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    ReRun failing tests does not record feature data properly

    GitHub | 1 year ago | nablik
    java.lang.IllegalArgumentException: Neither found on file system or on classpath: Not a file or directory: /Users/nablik/Work/workspaces/wkspace1/example-cucumber/group1/Test1.feature, No resource found for: classpath:group1/Test1.feature
  6. 0

    IllegalArgumentException when passing feature path argument to Cucumber.cli.Main

    GitHub | 1 year ago | dirathea
    java.lang.IllegalArgumentException: Not a file or directory: D:\Developing\MUI

    1 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      Not a file or directory: /src/test/java/com/project/cucumber/cucumber

      at cucumber.runtime.io.FileResourceIterator$FileIterator.<init>()
    2. Cucumber-JVM: Core
      RuntimeOptions.cucumberFeatures
      1. cucumber.runtime.io.FileResourceIterator$FileIterator.<init>(FileResourceIterator.java:54)
      2. cucumber.runtime.io.FileResourceIterator.<init>(FileResourceIterator.java:20)
      3. cucumber.runtime.io.FileResourceIterable.iterator(FileResourceIterable.java:19)
      4. cucumber.runtime.model.CucumberFeature.loadFromFeaturePath(CucumberFeature.java:101)
      5. cucumber.runtime.model.CucumberFeature.load(CucumberFeature.java:54)
      6. cucumber.runtime.model.CucumberFeature.load(CucumberFeature.java:34)
      7. cucumber.runtime.RuntimeOptions.cucumberFeatures(RuntimeOptions.java:201)
      7 frames
    3. Cucumber-JVM: JUnit
      Cucumber.<init>
      1. cucumber.api.junit.Cucumber.<init>(Cucumber.java:60)
      1 frame
    4. Java RT
      Constructor.newInstance
      1. sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      2. sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
      3. sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
      4. java.lang.reflect.Constructor.newInstance(Constructor.java:526)
      4 frames
    5. JUnit
      RunnerBuilder.runners
      1. org.junit.internal.builders.AnnotatedBuilder.buildRunner(AnnotatedBuilder.java:104)
      2. org.junit.internal.builders.AnnotatedBuilder.runnerForClass(AnnotatedBuilder.java:86)
      3. org.junit.runners.model.RunnerBuilder.safeRunnerForClass(RunnerBuilder.java:59)
      4. org.junit.internal.builders.AllDefaultPossibilitiesBuilder.runnerForClass(AllDefaultPossibilitiesBuilder.java:26)
      5. org.junit.runners.model.RunnerBuilder.safeRunnerForClass(RunnerBuilder.java:59)
      6. org.junit.runners.model.RunnerBuilder.runners(RunnerBuilder.java:101)
      7. org.junit.runners.model.RunnerBuilder.runners(RunnerBuilder.java:87)
      7 frames
    6. IntelliJ junit4 module
      JUnit4IdeaTestRunner.startRunnerWithArgs
      1. com.intellij.junit4.JUnit46ClassesRequestBuilder.collectWrappedRunners(JUnit46ClassesRequestBuilder.java:90)
      2. com.intellij.junit4.JUnit46ClassesRequestBuilder.getClassesRequest(JUnit46ClassesRequestBuilder.java:51)
      3. com.intellij.junit4.JUnit4TestRunnerUtil.buildRequest(JUnit4TestRunnerUtil.java:91)
      4. com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:39)
      4 frames
    7. IDEA
      JUnitStarter.main
      1. com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:212)
      2. com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:68)
      2 frames
    8. Java RT
      NativeMethodAccessorImpl.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      2 frames
    9. IDEA
      AppMain.main
      1. com.intellij.rt.execution.application.AppMain.main(AppMain.java:140)
      1 frame