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

reports.resultDir configuration from code does not work as depicted #13

Open
lordson-ajira opened this issue Oct 26, 2020 · 0 comments
Open

Comments

@lordson-ajira
Copy link

I have been trying to set up a test which writes test result reports to multiple directories, following the example mentioned in the below file

I end up getting only the last test report written into target/benchmarks/report, not the directories specified in code

Following scalameter/scalameter#189, scalameter/scalameter#195
and finally scalameter/scalameter@0c54382#diff-89ba343b74c4e69e1de52032524e5313666081e7813e756a254cabc697ac7e15

led me to believe that either

  • The docs that mention resultDir can be changed from within code were valid at one point of time and the particular commit overwrote intended functionality and nobody caught the bug
  • The docs mentioning that resultDir is a global test parameter is right and the examples are outdated, and the particular PR to resolve the issue addresses only the regression data persistor but not the HtmlReport generator

My questions now would be:

  • Is it possible to support resultDir configuration in code and not through command line?
    (so I can generate reports in multiple directories with a single command line invocation)
    -- P.S. I am willing to work on a PR if it's currently unsupported but there are no objections to support resultDir configuration in code

  • In case we do not want to support resultDir configuration by code, should we update the examples to point out that the setup specified in the above file is no longer supported?

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

1 participant