All Classes and Interfaces
Class
Description
A builder to configure an approval for a given value.
An
AssertionError
thrown when an approval fails.Interface for results of approvals.
A
Consumer
that approved a printed value and (optionally) stores the value in some
fashion if approved for a later execution.Collection of static methods to create
Approver
instances.Central configuration class for ApproveJ.
An error that occurs when there is an issue with loading the
Configuration
.Special
RegexScrubber
to scrub date/time strings described by a DateTimeFormatter
pattern like "yyyy-MM-dd" for local dates.ApprovalResult
for files.Approver
that compares the received value with the approved value stored in a file.Interface for triggering a review by the user.
A
FileReviewer
implementation that executes the given script.Result class for
FileReviewer
s.A simple
ApprovalResult
, e.g.An
Approver
that checks if the received value is equal to a value given in place.A generic printer for Java
Object
s that prints their properties and values one per line.A provider for the paths of the approved and received files.
A builder for creating
PathProvider
instances.Scrubs a
String
by replacing all occurrences of a date pattern with relative
descriptions, like [today]
, [yesterday]
, [2 days from now]
, [21 days ago]
.Interface for results of reviews.
An
UnaryOperator
that scrubs certain information from a value.Collection of static methods to create
Scrubber
instances.Utility class to find the current test method using the stack trace.
Represents a test method in a test class.
TestMethod
implementation for JUnit/JUnit5.TestMethod
implementation for Spock.TestMethod
implementation for TestNG.A simple
Printer
implementation that uses the Object.toString()
method.