-
-
Notifications
You must be signed in to change notification settings - Fork 717
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
History won't be generated #682
Comments
yeah, thats how it works at the moment. BTW we are going to implement allure config that will allow you to specify history folder via commandline: $ allure generate --history /my/local/history or using yaml configuration file # allure.yml
history: /my/local/history
other.configs... and then such config will be used during report generation $ allure generate --config my/allure/config |
I have found an issue with this solution. See the following scenario:(Say we have two testuites, I'll call A and B, and a testcase, I'll call X.)
Looking into the files, I found, that the doubled history-entries have different uid s, but their time-stamps are the same. How do you generate a proper history, when not continuing the execution of a testsuite, but running the same testcase in a different testsuite? Also: Why will the history only store up to five testcases? Can one somehow change that number? |
There is an issue #347 |
@johnmondeen please create a separate issue. Also provide sample project to reproduce the problem |
I am using: protractor, jasmine-allure-reporter, allure-commandline
I had the problem, that no history would be generated over multiple testsuite executions.
After understanding the purpose of the history-feature (see https://stackoverflow.com/questions/47514696/what-exactly-are-history-and-retries-meant-to-mean-in-allure/47533045#47533045), more research and lots of trying out different things, I found this solution:
Before a new testsuite execution, the "history"-folder from "allure-report"-folder is supposed to be copied into the "allure-results"-folder. This way, allure will generate the right history from the saved "history"-folder.
My fix:
Execute the test via .bat and copy the folder beforehand:
Is there a better way to do this?
Shouldn't this happen by default?
The text was updated successfully, but these errors were encountered: