Skip to content

Latest commit

 

History

History

image-comparator-allure

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

Java Maven GitHub Actions CircleCI

Image Comparator for Allure

When using Allure as a report framework, image-comparator-allure should be used.

Declaration

Gradle

Add to build.gradle.

implementation("com.github.ngoanh2n:image-comparator-allure:1.5.0")

Maven

Add to pom.xml.

<dependency>
    <groupId>com.github.ngoanh2n</groupId>
    <artifactId>image-comparator-allure</artifactId>
    <version>1.5.0</version>
</dependency>

Description

You can change comparison description on Allure by creating file image-comparator-allure.properties in folder resources.
Default description as below.

subject=Image Comparison
expImage=Source: Expected Image
actImage=Source: Actual Image
resultImage=Result: Diff Image
resultDeviation=Result: Deviation

System Property

Name Description Default
ngoanh2n.img.includeSource Indicate which attaches image sources to Allure report. true
ngoanh2n.img.includeResult Indicate which attaches comparison result (diff image and deviation) to Allure report. true