Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Announcement Arquillian Pact 1.0.0.Alpha4
- Loading branch information
1 parent
18f9dff
commit 96b40fc
Showing
1 changed file
with
26 additions
and
0 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,26 @@ | ||
--- | ||
date: 2016-11-14 | ||
author: lordofthejars | ||
--- | ||
|
||
p. Arquillian Pact is an extension for writing contract-driven tests providing you seamless integration with well known "Pact":https://docs.pact.io/ framework. | ||
|
||
h3. What's new | ||
|
||
p. <i class="icon-star"></i> **@@Pact@ annotation can be used on the class level** | ||
|
||
p. You can use @@Pact@ annotation on the class level, so method that defines a pact fragment just need to return @PactFragment@ object. In case of setting this annotation both on the class and method level, the one defined on the method will take precedence. | ||
|
||
p. <i class="icon-star"></i> **Pact Publisher properties configuration** | ||
|
||
p. You can configure Pact Publisher properties using Java System properties or Environment variables using Arquillian syntax. Any property value can be set using Java system property @${name:defaultValue}@ or using environment variable @${env.name:defaultValue}@. @defaulValue@ will be used if referred property is not defined. | ||
|
||
h3. Bug fixing | ||
|
||
p. <i class="icon-star"></i> **Using @skipDeployment@ with WildFly Swarm returns a NPE** | ||
|
||
p. Skipping deployment for WildFly Swarm was resulting with NPE. This is because our URL provider was conflicting with the one Swarm implements ("#44":https://github.com/arquillian/arquillian-pact/issues/44). | ||
|
||
p. <i class="icon-star"></i> **Pact Publisher is not called when used with Gradle** | ||
|
||
p. Pact Publisher is not called when used with Gradle due to a "bug in Gradle":https://issues.gradle.org/browse/GRADLE-3411. Since Publisher reacts to @AfterSuite@ and this event is not emitted when running in Gradle, we changed it to @AfterClass@. This has a slight impact on the performance as publishing pacts happens after each test execution instead of being triggered once in a bulk after the whole test suite execution ("#43":https://github.com/arquillian/arquillian-pact/issues/43). |