-
-
Notifications
You must be signed in to change notification settings - Fork 481
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(compatibility-suite): Implemented remaining V1 scenarios
- Loading branch information
1 parent
3c10367
commit 31004ad
Showing
4 changed files
with
52 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
# Compatability Suite | ||
|
||
This is the implementation of the [Pact Compatability Suite](https://github.com/pact-foundation/pact-compatibility-suite) implemented with Cucumber JVM. | ||
|
||
## Running the suite | ||
|
||
The suite has Gradle tasks for each of the specification versions. For example, to run the V1 features: | ||
|
||
```console | ||
./gradlew :compatibility-suite:v1 | ||
``` | ||
|
||
### Running just a consumer or provider set of features | ||
|
||
Features for just consumer, provider or messages are identified using Cucumber tags. You can run a subset of features | ||
by providing the matching tags. I.e.: | ||
|
||
```console | ||
./gradlew :compatibility-suite:v1 -Pcucumber.filter.tags=@consumer | ||
``` | ||
|
||
### Changing the log level | ||
|
||
By default, the suite runs with logging set to ERROR. To change it, either edit the file in | ||
`compatibility-suite/src/test/resources/logback-test.xml` or provide the `cucumber.log.level` property. | ||
|
||
I.e., | ||
|
||
```console | ||
./gradlew :compatibility-suite:v1 -Pcucumber.log.level=DEBUG | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<?xml version="1.0" encoding="UTF-8" ?> | ||
<configuration> | ||
<appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender"> | ||
<encoder> | ||
<pattern>%d{HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n</pattern> | ||
</encoder> | ||
</appender> | ||
|
||
<root level="${ROOT_LOG_LEVEL}"> | ||
<appender-ref ref="STDOUT" /> | ||
</root> | ||
|
||
</configuration> |