Skip to content
Automatically administer lifecycle of TestNG tests using recheck.
Java Shell
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.dependabot
.settings
ci
src
.gitignore
.mergify.yml
.travis.settings.xml
.travis.yml
LICENSE
README.md
pom.xml
retest-gmbh-gpg.asc.enc

README.md

Build Status Latest recheck-testng-extension on Maven Central license PRs welcome code with hearth by retest

TestNG Extension for recheck. Automatic set up and tear down of tests using recheck.

Features

  • Calls startTest on all RecheckLifecycle objects before each test.
  • Calls capTest on all RecheckLifecycle objects after each test.
  • Calls cap on all RecheckLifecycle objects after all tests.

Advantages

The extension automatically calls startTest, capTest and cap. So it is no longer required to call those methods manually. This reduces boilerplate code and ensures the lifecycle within a test using recheck.

Build tools

You can add recheck-testng-extension as an external dependency to your project. It is available via the release-page which allows you to include it into your favorite build tool or via Maven central: Latest recheck-testng-extension on Maven Central

For the current version, please refer to the release-page.

Maven

<dependency>
	<groupId>de.retest</groupId>
	<artifactId>recheck-testng-extension</artifactId>
	<version>${LATEST_VERSION_FROM_ABOVE_LINK}</version>
</dependency>

Gradle

compile 'de.retest:recheck-testng-extension:${LATEST_VERSION_FROM_ABOVE_LINK}'

Usage

Recheck TestNG extension uses TestNG's listener mechanism. It can be used by adding @Listeners(RecheckHook.class) to your test class.

License

This project is licensed under the AGPL license.

You can’t perform that action at this time.