Skip to content

This is a fork of https://github.com/ervirendersingh/newman-reporter-allure. It adds headers, cookies, etc. to the results along with better data formatting and error handling

Notifications You must be signed in to change notification settings

akorov/newman-reporter-allure

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 

Repository files navigation

This is a fork of https://github.com/dvargas46/newman-reporter-allure

Особенности

Реализована поддержка Allure TestOps:

  • Добавлены следующие Labels: testClass, testMethod, epic, owner, layer.
  • Изменена логика формирования story и suite.

Отсуттвуют проблемы с формированием русскоязычных имён тестов.

Добавлена обработка test-scripts errors.

Добавлена возможность установки статуса "SKIPPED" через 'pm.test.skip("Skip message")'.

Установка

$ npm install -g https://github.com/cmttwd/newman-reporter-allure.git

Запуск

$ newman run <Collection> -e <Environment> -r allure
$ newman run <Collection> -e <Environment> -r allure --reporter-allure-export <allure-results-out-dir>
$ newman run <Collection> -e <Environment> -r allure --reporter-allure-export <allure-results-out-dir> --reporter-allure-epic <Epic name> --reporter-allure-owner <Owner name> --reporter-allure-layer <Layer>
--reporter-allure-export <allure-results-out-dir> - путь результов отчета
--reporter-allure-epic <Epic name> - установка параметра Epic для всех тестов запуска
--reporter-allure-owner <Owner name> - установка Владельца/Ответсвенного для всех тестов запуска
--reporter-allure-layer <Layer> - доп параметр

Генерация отчета

$ allure generate --clean
$ allure generate --clean <allure-results-out-dir>

Открытие сгенерированного отчета

$ allure open
$ allure open <allure-report-dir>

About

This is a fork of https://github.com/ervirendersingh/newman-reporter-allure. It adds headers, cookies, etc. to the results along with better data formatting and error handling

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%