-
Notifications
You must be signed in to change notification settings - Fork 23
Migrating from 0.1.3
Catalin edited this page May 28, 2020
·
1 revision
- Update
cucumber-jvm-parallel-plugin
version in pom.xml to5.0.0
, e.g.
<plugin>
<groupId>com.github.temyers</groupId>
<artifactId>cucumber-jvm-parallel-plugin</artifactId>
<version>5.0.0</version>
<executions>
<execution>
<id>generateRunners</id>
<phase>generate-test-sources</phase>
<goals>
<goal>generateRunners</goal>
</goals>
<configuration>
<glue>
<package>com.acme</package>
</glue>
<plugins>
<plugin>
<name>json</name>
</plugin>
</plugins>
<namingScheme>pattern</namingScheme>
<namingPattern>{f}IT</namingPattern>
<cucumberOutputDir>target/cucumber-reports</cucumberOutputDir>
</configuration>
</execution>
</executions>
</plugin>
- Update
donut-maven-plugin
version in pom.xml to1.2.1
, e.g.
<plugin>
<groupId>report.donut</groupId>
<artifactId>donut-maven-plugin</artifactId>
<version>1.2.1</version>
<executions>
<execution>
<id>execution</id>
<phase>post-integration-test</phase>
<goals>
<goal>generate</goal>
</goals>
<configuration>
<resultSources>
<resultSource>
<format>cucumber</format>
<directory>${project.build.directory}/cucumber-reports</directory>
</resultSource>
</resultSources>
<outputPath>${project.build.directory}/donut/</outputPath>
<timestamp>${maven.build.timestamp}</timestamp>
<template>default</template>
<prefix>${project.name}</prefix>
<projectName>${project.name}</projectName>
<projectVersion>${project.version}</projectVersion>
</configuration>
</execution>
</executions>
</plugin>
- Update
maven-failsafe-plugin
configuration to replace:
<forkCount>${failsafe.fork.count}</forkCount>
<reuseForks>false</reuseForks>
with
<threadCount>${failsafe.thread.count}</threadCount>
<parallel>both</parallel>
- Update
GuiceInjectorSource
to replaceCucumberModules.SCENARIO
withCucumberModules.createScenarioModule()
- Update Guice module classes to replace references to
CucumberScopes.SCENARIO
withScenarioScoped.class