Skip to content

An extension of JUnit5 that enables approval testing for Java-based software.

License

Notifications You must be signed in to change notification settings

jApprove/japprove

Repository files navigation

JApprove

Build Status Maven Central License

jApprove is a testing tool that provides an easy and flexible way to use approval testing in Java-based software. The basic idea of this tool is to extend JUnit 5 to obtain familiar test cases and to use standard build tools to highlight and approve changes. The main focus of this tool is on the test of large JSON objects and REST APIs.

Features

Currently, jApprove contains the following features:

  • Approval Testing of Strings and JSON Objects
  • Straightforward execution of the tests from inside an IDE
  • Simple approving and diffing functionality by the usage of Gradle or Maven
  • Run Approval Tests in a CI Pipeline
  • Modular structure to simply replace components or add new features

Getting Started

The usage of jApprove depends on the build tool that is used. Therefore, there are tutorials for Gradle- and Maven-based projects.

Examples

For both Gradle and also Maven there is an example project that uses jApproval to demonstrate the usage.

About

An extension of JUnit5 that enables approval testing for Java-based software.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages