Appearance
Allure Newman configuration
The Allure Newman adapter behavior can be affected by some configuration options.
To pass an option, you can just add it to the command when running Newman.
The example below assumes that the tests are public. (Alternatively, use the Postman API to run them.)
bash
npx newman run https://www.postman.com/collections/8854915-454a2dc7-dcbe-41cf-9bfa-da544fcd93a2 \
--reporters cli,allure \
--reporter-allure-resultsDir output/allure-results
bash
yarn run newman run https://www.postman.com/collections/8854915-454a2dc7-dcbe-41cf-9bfa-da544fcd93a2 \
--reporters cli,allure \
--reporter-allure-resultsDir allure-results
bash
pnpx newman run https://www.postman.com/collections/8854915-454a2dc7-dcbe-41cf-9bfa-da544fcd93a2 \
--reporters cli,allure \
--reporter-allure-resultsDir allure-results
--reporter-allure-resultsDir ⟨DIRECTORY⟩
Path to the directory where Allure Newman will save the test results, see How it works. If the directory does not exist, it will be created. Defaults to allure-results
.