-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #34 from zeners/gradle_updates
Gradle updates
- Loading branch information
Showing
12 changed files
with
127 additions
and
112 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,39 @@ | ||
Serenity-Gradle-Plugin | ||
====================== | ||
|
||
Serenity-Gradle-Plugin adding tasks to generate reports from serenity test-results. | ||
|
||
Requirements | ||
============ | ||
|
||
* gradle 7.0+ | ||
|
||
Gradle Tasks | ||
============ | ||
|
||
* `gradle aggregate` Generates aggregated Serenity reports | ||
* `gradle reports` Generates extended Serenity reports | ||
* `gradle checkOutcomes ` Checks the Serenity reports and fails the build if there are test failures (run automatically with 'check') | ||
* `gradle clearReports` Deletes the Serenity output directory (run automatically with 'clean') | ||
|
||
Example 'build.gradle' | ||
====================== | ||
|
||
``` | ||
plugins { | ||
id 'net.serenity-bdd.serenity-gradle-plugin' version '4.1.9' | ||
} | ||
serenity { | ||
outputDirectory = null // String, report-directory | ||
projectKey = null // String, overwrites 'serenity.project.key' | ||
issueTrackerUrl = null // String, base URL for the issue tracking system to be referred to in the reports | ||
jiraUrl = null // String, If the base JIRA URL is defined, Serenity will build the issue tracker url using the standard JIRA form | ||
jiraProject = null // String, ff defined, the JIRA project id will be prepended to issue numbers | ||
requirementsBaseDir = null // String, overwrites 'serenity.test.requirements.basedir' | ||
requirementsDir = null // String, overwrites 'serenity.requirements.dir' | ||
testRoot = null // String, overwrites 'serenity.test.root' | ||
generateOutcomes = true // generate report | ||
reports = [] // extended report types for reports-task | ||
} | ||
``` |
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
Binary file not shown.
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 |
---|---|---|
@@ -1,5 +1,7 @@ | ||
distributionBase=GRADLE_USER_HOME | ||
distributionPath=wrapper/dists | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-7.4.2-bin.zip | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-8.7-bin.zip | ||
networkTimeout=10000 | ||
validateDistributionUrl=true | ||
zipStoreBase=GRADLE_USER_HOME | ||
zipStorePath=wrapper/dists |
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
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
Oops, something went wrong.