亚洲在线久爱草,狠狠天天香蕉网,天天搞日日干久草,伊人亚洲日本欧美

為了賬號安全,請及時綁定郵箱和手機立即綁定
已解決430363個問題,去搜搜看,總會有你想問的

Java-黃瓜-寧靜報告-忽略測試

Java-黃瓜-寧靜報告-忽略測試

一只斗牛犬 2021-04-05 17:06:09
我在嘗試在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請社區:我需要您的幫助。
查看完整描述

1 回答

  • 1 回答
  • 0 關注
  • 296 瀏覽
慕課專欄
更多

添加回答

舉報

0/150
提交
取消
微信客服

購課補貼
聯系客服咨詢優惠詳情

幫助反饋 APP下載

慕課網APP
您的移動學習伙伴

公眾號

掃描二維碼
關注慕課網微信公眾號