Skip to content
An extension of JUnit5 that enables approval testing for Java-based software.
Branch: master
Clone or download

Latest commit

Fetching latest commit…
Cannot retrieve the latest commit at this time.


Type Name Latest commit message Commit time
Failed to load latest commit information.


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.


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.


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

You can’t perform that action at this time.