Added the deleteStubsAfterTest flag to remove stubs after tests are finished

if `deleteStubsAfterTest` is set to false then stubs will NOT be deleted after tests are executed

fixes gh-512
This commit is contained in:
Marcin Grzejszczak
2018-03-16 01:08:37 +01:00
parent 903094d8b4
commit 7a38ab9867
14 changed files with 97 additions and 9 deletions

View File

@@ -259,6 +259,8 @@ closure to set it up.
JAR is available offline, remotely etc.)
* *contractsSnapshotCheckSkip*: If set to `true` will not assert whether the
downloaded stubs / contract JAR was downloaded from a remote location or a local one
* *deleteStubsAfterTest*: If set to `false` will not remove any downloaded
contracts from temporary directories
[[gradle-single-base-class]]
==== Single Base Class for All Tests
@@ -584,6 +586,8 @@ Defaults to `groupid/artifactid` where `gropuid` is slash separated.
* *contractsMode*: Picks the mode in which stubs will be found and registered
* *contractsSnapshotCheckSkip*: If `true` then will not assert whether a stub / contract
JAR was downloaded from local or remote location
* *deleteStubsAfterTest*: If set to `false` will not remove any downloaded
contracts from temporary directories
* *contractsRepositoryUrl*: URL to a repo with the artifacts that have contracts. If it is not provided,
use the current Maven ones.
* *contractsRepositoryUsername*: The user name to be used to connect to the repo with contracts.