Home java how to specify a folder with json-result

how to specify a folder with json-result




allure-report refers to the Allure-Results folder which is located in Target, however, after the tests run, this folder appears in SRC. How to specify the Allure-Results folder to access.

Answer 1

You need to put in the SRC / Main / Resources file allure.properties and add a

parameter there

allure.results.directory = & lt; your directory & gt;

you seem so
Allure.Results.directory = SRC / ALLURE-Results

You can also specify the path to the folder with the results when generating a report (there is an appropriate parameter in a jenkins-plug-in or for example from the terminal when you start the Allure Serve command – Example Serve SRC / Allure-Results)

Programmers, Start Your Engines!

Why spend time searching for the correct question and then entering your answer when you can find it in a second? That's what CompuTicket is all about! Here you'll find thousands of questions and answers from hundreds of computer languages.

Recent questions