Skip to content
This repository has been archived by the owner on Dec 19, 2022. It is now read-only.

Test cases are duplicated if we want to keep test cases history #23

Open
hamza-amami opened this issue Apr 1, 2022 · 1 comment
Open

Comments

@hamza-amami
Copy link

Here are the steps to reproduce :

Let's assume we have a 100 test to execute

First run, there is no history, every thing is fine

For the runs after

node run collection-name.js
if exist allure-report\\history Xcopy allure-report\\history allure-results\\history /E /H /C /I /Y
allure generate allure-results --clean -o allure-report

In this case, we have 200 test in the report, the first 100 have history (those are the new ones), but we have 100 other test cases that are not cleaned

Tried if exist allure-results del allure-results\\*result.json before the scripts, but we can't see test history

@vovsemenv
Copy link
Contributor

Hello, this repo will be archived. New versions of the newman-reporter-allure will be maintained in the allure framework repo. https://github.com/allure-framework/allure-js

If this problem still appears please open issue in the new repo

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants