Skip to content

sanderploegsma/assertj-reflection

Repository files navigation

assertj-reflection

Maven Central Version Javadoc Coverage Status

An extension to AssertJ that provides assertion methods using reflection.

Usage

Check out the examples directory to see how this library can be used. All available assertions can be found in the project's javadoc.

Installation

Gradle

To install assertj-reflection using Gradle, add it to the list of dependencies in your project's build.gradle:

dependencies {
    testImplementation 'io.github.sanderploegsma:assertj-reflection:0.1.0'
}

Maven

To install assertj-reflection using Maven, add it to the list of dependencies in your project's pom.xml:

<dependencies>
    <dependency>
        <groupId>io.github.sanderploegsma</groupId>
        <artifactId>assertj-reflection</artifactId>
        <version>0.1.0</version>
        <scope>test</scope>
    </dependency>
</dependencies>