Noksa / Allure.NUnit

C# NUnit Allure with improvements and SpecFlow3 adapter
MIT License
18 stars 6 forks source link

Accumulation allure-results #25

Closed cerebellum13 closed 5 years ago

cerebellum13 commented 5 years ago

I run tests through Visual Studio more than once, but each test suite is separate. In this regard, the results of the allure are deleted and new ones begin to be created. But I want to keep the old ones, but there is no opportunity to accumulate these results. Is there any way to fix this?

Noksa commented 5 years ago

@cerebellum13 For local history of test runs, you can use the setting in the config allure.allowLocalHistoryTrend https://github.com/Noksa/Allure.NUnit/wiki/AllureConfig-description

cerebellum13 commented 5 years ago

@Noksa But, it doesn't work for me. Still continues to delete.

 "allure": {
    "directory": "../../../../../allure-results",
    "allowLocalHistoryTrend": true
  }

I want to save previous allure results files.

Noksa commented 5 years ago

@cerebellum13 My mistake - i mixed up the history with the trend. Currently, the local launches history is not implemented and is not planned, because the CI server does this.

However, you can do it yourself by copying somewhere the previous folder before deleting it, and then aggregate the results.

allure generate \ 
#1 first-launch \ 
#2 second-launch \ 
#3 third-launch \
cerebellum13 commented 5 years ago

Very sorry of course, have to make crutches = (