Project icon

com.io7m.percentpass

Build status Maven Central Codecov

The percentpass package provides a JUnit 5 extension that allows for executing a test a given number of times, and then checking that at least a certain percentage of the invocations actually succeeded.

Contents

Features

  • Execute unit tests multiple times, checking that a given percent of invocations succeed.
  • OSGi-ready.
  • JPMS-ready
  • ISC license.

Releases

The most recently published version of the software is 0.0.1.

Source code and binaries are available from the repository.

Documentation

Documentation for the 0.0.1 release is available for reading online.

Documentation for current and older releases is archived in the repository.

User documentation

Annotate a test method:

The method will be executed 1000 times, and 98% of the invocations must not throw an exception.

Maven

The following is a complete list of the project's modules expressed as Maven dependencies:

<dependency>
  <groupId>com.io7m.percentpass</groupId>
  <artifactId>com.io7m.percentpass</artifactId>
  <version>0.0.1</version>
</dependency>

<dependency>
  <groupId>com.io7m.percentpass</groupId>
  <artifactId>com.io7m.percentpass.extension</artifactId>
  <version>0.0.1</version>
</dependency>

<dependency>
  <groupId>com.io7m.percentpass</groupId>
  <artifactId>com.io7m.percentpass.tests</artifactId>
  <version>0.0.1</version>
</dependency>

Each release of the project is made available on Maven Central within ten minutes of the release announcement.

Changes

Subscribe to the releases atom feed.

No formal releases have been made.

Sources

This project uses Git to manage source code.

Repository: https://github.com/io7m/percentpass

$ git clone https://github.com/io7m/percentpass

License

Copyright © 2020 Mark Raynsford <code@io7m.com> http://io7m.com

Permission to use, copy, modify, and/or distribute this software for
any purpose with or without fee is hereby granted, provided that the
above copyright notice and this permission notice appear in all copies.

THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR
BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES
OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
SOFTWARE.

Bug Tracker

The project uses GitHub Issues to track issues.