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

(suggestion) Customize test result filename #757

Closed
bcecchinato opened this issue Dec 4, 2023 · 6 comments
Closed

(suggestion) Customize test result filename #757

bcecchinato opened this issue Dec 4, 2023 · 6 comments
Labels

Comments

@bcecchinato
Copy link

Hello !

Currently it is possible to cutomize the test report directory, but the filename is always test_results_TEST-NAME.type.
Is it possible to add an option to set a templatized name instead ? This would allow us to add the timestamp in the filename, and some of the parameters, which will prevent our tests to override the repport each time it is launched.

Thanks !

@kpassoubady
Copy link

Yes, this is greatly help. When we run the test cases in parallel, unless you create an output directory for each test suite, the test results are overwritten due to the same test_results.html
Here is a sample directory structure. I

image

@bcecchinato
Copy link
Author

Why closing this issue as it's not treated or fixed ?

@kpassoubady
Copy link

Yes, adding a facility to customize the result file names is a good feature.

@yesnault
Copy link
Member

if outputDir is set, It's expected to have the same filename each time venom is is triggered. If you want to save output files, you have to set another outputDir (or mv the outputDir) before running venom another time.

@kpassoubady
Copy link

But if you try to run them in parallel, it is a good feature to have a fileNameWithDDMMYY_HH24MMSS_SSS.ext

@yesnault
Copy link
Member

run in parallel -> you have to use different output-dir

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

No branches or pull requests

3 participants