Appearance
Allure JUnit 4 configuration
This page describes the configuration options that affect the behavior of Allure JUnit 4.
To set the configuration options, create a allure.properties
file in your project's src/test/resources
directory. Allure JUnit 4 loads the configuration into the JVM system properties for the test runtime.
allure.label.⟨NAME⟩
properties
allure.label.epic = Authentication
allure.label.severity = blocker
Assign an arbitrary label to all the tests in the current test run.
allure.link.⟨TYPE⟩.pattern
properties
allure.link.issue.pattern = https://jira.example.org/browse/{}
Define a link pattern — a template that can be used to construct full URLs from short identifiers, see the reference.
The value must be a string pattern containing {}
at the position where the identifier should be placed. The pattern will be applied when processing any link of the given TYPE
.
You can use the option multiple times, thus defining multiple link patterns for different link types.
allure.results.directory
properties
allure.results.directory = build/allure-results
Path to the directory where Allure JUnit 4 will save the test results, see How it works. If the directory does not exist, it will be created. Defaults to allure-results
.