com.google.inject.ProvisionException:Guice设置错误:
1) Error injecting constructor, java.lang.IllegalArgumentException: No enum constant net.thucydides.core.logging.LoggingLevel.VERB
2) at net.thucydides.core.steps.ConsoleLoggingListener.<init>(ConsoleLoggingListener.java:200)
while locating net.thucydides.core.steps.ConsoleLoggingListener
3) at net.thucydides.core.guice.ThucydidesModule.configure(ThucydidesModule.java:67)
while locating net.thucydides.core.steps.StepListener annotated with interface net.thucydides.core.logging.ThucydidesLogging
我的Run.java类
@RunWith(CucumberWithSerenity.class)
@CucumberOptions(features = {"src/test/resources/features/AndroidApp"})
public class Run {
@BeforeClass
public static void startAppium() {
startAppiumServer();
}
@AfterClass
public static void stopAppium() {
stopAppiumServer();
}
}