シナリオアウトラインを使用する場合、レポートはシナリオの2つのシナリオを生成します.1つはカラーなし、もう1つはカラーです(画像に示されています)。シナリオのアウトラインを使用中にキュウリレポートの複製
シナリオを使用しない場合、シナリオ概要を使用した場合にのみ発生します。ここで
は私ののpom.xml 「 http://maven.apache.org/xsd/maven-4.0.0.xsd "> 4.0.0 GroupMaven ArtifactMaven 0.0.1-SNAPSHOTです ポンポン ProjectMaven http://maven.apache.org
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.19.1</version>
<executions>
<execution>
<configuration>
<includes>
<include>**/*Test.java</include>
</includes>
</configuration>
<goals>
<goal>test</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
<dependencies>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.11</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>info.cukes</groupId>
<artifactId>cucumber-java</artifactId>
<version>1.2.4</version>
</dependency>
<dependency>
<groupId>info.cukes</groupId>
<artifactId>cucumber-junit</artifactId>
<version>1.2.4</version>
</dependency>
<dependency>
<groupId>org.seleniumhq.selenium</groupId>
<artifactId>selenium-java</artifactId>
<version>2.53.1</version>
</dependency>
<dependency>
<groupId>com.opencsv</groupId>
<artifactId>opencsv</artifactId>
<version>3.8</version>
</dependency>
</dependencies>
「
は、ここに私のキュウリランナークラスである
'
@RunWith(Cucumber.class) @CucumberOptions(フォーマットは= { "HTML:キュウリ-HTML-レポート/第一"、 「JSON:cucumber- HTML-レポート/ cucumber.json」}、機能= { "テスト/特徴/ FirstFeature.feature"}) パブリッククラスCucumberCukesTest { } '
iは、モノクロ、厳密、dryrumを使用するなどのオプション何も動作しません。また、私はフォーマットの代わりにプラグインを使用しました。
Cucumber report for scenario using Scenario Outline keyword
[qaf gherkin client](https://qmetry.github.io/qaf/latest/gherkin_client.html)を使用してみてください。非常に[記述レポート](https://qmetry.github.io/qaf/latest)が生成されます。 /qaf_reporting.html)。 – user861594