我在嘗試在IntelliJ IDEA中運行Serenity Runner時遇到問題。我將數據放在這里:IntelliJ IDEA 2018.1.5 (Community Edition)Build #IC-181.5281.24, built on June 12, 2018JRE: 1.8.0_152-release-1136-b39 amd64JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.oWindows 10 10.0這是我的寧靜奔跑者:import cucumber.api.CucumberOptions;import net.serenitybdd.cucumber.CucumberWithSerenity;import org.junit.runner.RunWith;@RunWith(CucumberWithSerenity.class)@CucumberOptions( features = {"src/test/resource/features"}, glue= {"stepdefs"}, monochrome = true, tags = {"~@Ignore"}, plugin = { "pretty", "html:target/serenity-reports/serenity-html-report", "json:target/serenity-reports/SerenityTestReport.json", "rerun:target/serenity-reports/rerun.txt"})public class SerenityRunner {}我的serenity.properties文件:serenity.project.name = automation_test_cukesserenity.test.root = src/test/resource/featuresserenity.outputDirectory = target/serenity-reportsserenity.take.screenshots= AFTER_EACH_STEP我試圖更改Serenity依賴項中的版本,但是找不到解決方案。Serenity文件夾在目標中生成。如果有用,這是我的管道:|_main|_test |_java |_runners |_TestRunner |_SerenityRunner |_stepdefs |_ServiceHooks |_StepDefinitionsCafest |_resource |_features |_Cafest.feature請社區:我需要您的幫助。
添加回答
舉報
0/150
提交
取消