Это моя особенность и это журнал ошибок. пом. xml находится внизу. У меня есть два файла функций. Я хочу, чтобы они оба запускались, когда я запускаю его. Но у меня есть ошибка, но я не могу понять. Сначала я ищу в Google, но не могу найти решение.
Feature: ML Funnel Listing
Scenario Outline: ML Funnel Proposal Listing
Given I choose Mortgage Credit
And I fill Credit Loan field as "<loan>"
And I choose Expire field as "<expire>"
And I press Calculate button
Then I see credit proposal list
Examples:
| loan | expire |
|100000|1 Year (12 Month)|
> cucumber.runtime.CucumberException: Failed to create scenario runner
> at
> cucumber.runtime.junit.FeatureRunner.buildFeatureElementRunners(FeatureRunner.java:85)
> at cucumber.runtime.junit.FeatureRunner.<init>(FeatureRunner.java:31)
> at cucumber.api.junit.Cucumber.addChildren(Cucumber.java:106) at
> cucumber.api.junit.Cucumber.<init>(Cucumber.java:62) at
> java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native
> Method) at
> java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
> at
> java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
> at
> java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:490)
> at
> org.junit.internal.builders.AnnotatedBuilder.buildRunner(AnnotatedBuilder.java:104)
> at
> org.junit.internal.builders.AnnotatedBuilder.runnerForClass(AnnotatedBuilder.java:86)
> at
> org.junit.runners.model.RunnerBuilder.safeRunnerForClass(RunnerBuilder.java:59)
> at
> org.junit.internal.builders.AllDefaultPossibilitiesBuilder.runnerForClass(AllDefaultPossibilitiesBuilder.java:26)
> at
> org.junit.runners.model.RunnerBuilder.safeRunnerForClass(RunnerBuilder.java:59)
> at
> org.junit.internal.requests.ClassRequest.getRunner(ClassRequest.java:33)
> at
> com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:49)
> at
> com.intellij.rt.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:33)
> at
> com.intellij.rt.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:230)
> at com.intellij.rt.junit.JUnitStarter.main(JUnitStarter.java:58)
> Caused by: org.junit.runners.model.InitializationError at
> org.junit.runners.ParentRunner.validate(ParentRunner.java:418) at
> org.junit.runners.ParentRunner.<init>(ParentRunner.java:84) at
> org.junit.runners.Suite.<init>(Suite.java:112) at
> cucumber.runtime.junit.ExamplesRunner.<init>(ExamplesRunner.java:21)
> at
> cucumber.runtime.junit.ScenarioOutlineRunner.<init>(ScenarioOutlineRunner.java:24)
> at
> cucumber.runtime.junit.FeatureRunner.buildFeatureElementRunners(FeatureRunner.java:81)
> ... 17 more