Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/carrotsearch/gradle-randomizedtesting-plugin
Convention defaults and tweaks for Java projects utilizing randomizedtesting libraries
https://github.com/carrotsearch/gradle-randomizedtesting-plugin
Last synced: 29 days ago
JSON representation
Convention defaults and tweaks for Java projects utilizing randomizedtesting libraries
- Host: GitHub
- URL: https://github.com/carrotsearch/gradle-randomizedtesting-plugin
- Owner: carrotsearch
- License: apache-2.0
- Created: 2021-01-12T13:17:24.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2024-05-22T16:53:44.000Z (8 months ago)
- Last Synced: 2024-05-22T18:02:32.428Z (8 months ago)
- Language: Java
- Size: 96.7 KB
- Stars: 0
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# Gradle RandomizedTesting Plugin
Convention defaults and tweaks for Java projects utilizing randomizedtesting libraries.
This plugin contributes the following:* prints the random seed at the start of each test task,
* disables HTML report generation from tests (slow, not really useful),
* fails the build if no tests have been executed globally,
* adds a "repro line" to the log, if a test task has failed,
* captures test output to plain text files or echoes them to the console in verbose mode,
* adds a global extension ```randomizedtesting```, with ```failOnNoTests``` boolean property and
```testOpts``` containing test options.
* a list of test options and their current overrides can be shown by running ```showOpts``` task.
* contributes multiple ```tests.*``` system/ project properties which can be used to
override the default test runner options (run ```showOpts``` to see the defaults).## Usage
You can add it to your top-level build script using the following:
### `plugins` block:
```groovy
plugins {
id "com.carrotsearch.gradle.randomizedtesting" version "$version"
}
```