mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-23 15:55:49 +00:00
Tests execution with maven
This commit is contained in:
parent
3e9cdaad38
commit
03cff1a308
2 changed files with 41 additions and 0 deletions
|
@ -1,5 +1,11 @@
|
|||
# QA Assignment
|
||||
|
||||
## Running tests
|
||||
You can run the Cucumber features from your IDE or via the command line:
|
||||
```shell
|
||||
./mvnw -P itest integration-test
|
||||
```
|
||||
|
||||
## Finding owners
|
||||
The scenarios for this feature are incomplete or even naive. Please cover more cases in more reliable way.
|
||||
|
||||
|
|
35
pom.xml
35
pom.xml
|
@ -411,6 +411,41 @@
|
|||
</pluginManagement>
|
||||
</build>
|
||||
</profile>
|
||||
<profile>
|
||||
<id>itest</id>
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-failsafe-plugin</artifactId>
|
||||
<version>2.22.2</version>
|
||||
<configuration>
|
||||
<testSourceDirectory>test/integration</testSourceDirectory>
|
||||
<includes>
|
||||
<include>**/CucumberRunner.java</include>
|
||||
</includes>
|
||||
<excludes>
|
||||
<exclude>**/*Tests.java</exclude>
|
||||
</excludes>
|
||||
</configuration>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>integration-test</id>
|
||||
<goals>
|
||||
<goal>integration-test</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
<execution>
|
||||
<id>verify</id>
|
||||
<goals>
|
||||
<goal>verify</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
</profile>
|
||||
</profiles>
|
||||
|
||||
</project>
|
||||
|
|
Loading…
Reference in a new issue