Skip to content
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

trendline #183

Open
roydekleijn opened this issue Aug 1, 2021 · 3 comments
Open

trendline #183

roydekleijn opened this issue Aug 1, 2021 · 3 comments

Comments

@roydekleijn
Copy link

Hello,

I like to know how you go about with generating the trendline? So far I know there is some manual file copy step involved.

Steps I use now:

  1. Run tests with mvn clean test
  2. Create report with mvn allure:report
  3. Then I copy the history folder manually with: cp -R target/site/allure-maven-plugin/history target/allure-results/
  4. Run the tests again with mvn test
  5. Create report with mvn allure:report

This all works! I get a nice report including trendline. But,

  1. Is this the way to go?
  2. Can we include this file copy step in this plugin? So, when we execute mvn allure:report it checks for the previous report and copies the files.

I'm happy to hear from you, if step 2 should be implemented, I'm happy to help,
Roy

@baev
Copy link
Member

baev commented Sep 26, 2024

closed as stale

@baev baev closed this as not planned Won't fix, can't repro, duplicate, stale Sep 26, 2024
@roydekleijn
Copy link
Author

:)

@baev
Copy link
Member

baev commented Sep 26, 2024

@roydekleijn Sorry, mate. We're trying our best to react to all the community feedback. As for today, the best way to contact the team is to create a discussion: https://github.com/orgs/allure-framework/discussions. We receive a notification to our Slack channel for each created discussion.

Regarding your question:

You're right; for Maven, you should copy the history manually. History was designed mainly for use in the CI environment, where the CI plugin will take care of it. It's been a while since then, and now we can see the community loves our history feature. There is definitely room for improvement.

Can you please provide a few use cases when the Allure Maven plugin should handle the history?

@baev baev reopened this Sep 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants