| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
parent directory.. | ||||
JsonUnit diff attachment integration for Allure Java.
Use this module when your tests compare JSON payloads with JsonUnit and you want readable JSON differences attached to Allure Report.
Gradle:
dependencies {
testImplementation(platform("io.qameta.allure:allure-bom:<allure-version>"))
testImplementation("io.qameta.allure:allure-jsonunit")
}Maven, with allure-bom imported in dependency management:
<dependency>
<groupId>io.qameta.allure</groupId>
<artifactId>allure-jsonunit</artifactId>
<scope>test</scope>
</dependency>Use JsonPatchMatcher.jsonEquals(...) when comparing JSON payloads.
assertThat(actualJson, JsonPatchMatcher.jsonEquals(expectedJson));| Back | FazBrowse Home | New Git URL |