-
Notifications
You must be signed in to change notification settings - Fork 9
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
doc update - collect a synthesis for all tests? #47
Comments
Aha!
I have these in the place I define all my fixtures, which is included in all of the test modules. This solves my issue, I think. IMHO this would be great to have in the doc -- so leaving the issue open for the moment. However, feel free to close if you like. |
Oops -- you're ahead of me again! https://smarie.github.io/python-pytest-harvest/advanced_usage/ ... the only thing I'd recommend is to mention this in the "regular docs" and/or have it more visible in the table of contents. It wasn't apparent that this section existed from just looking at the docs home page. |
Great that you found the answer to you question ! I'll try to make this more explicit in the future. For this I'll leave the ticket open to remember |
Having liked one of your packages, I decided to try another one! :)
I am trying to collect summary statistics on all of my tests. Tests are in a number of test modules in a bunch of different directories:
[just for illustration].
If I include
test_synthesis(session_results_df)
in anytest_*
leaf module I get the test syntheses up to that point... but there is no guarantee that it will be run depending on which tests I'm running from command line. I can't put it anywhere else, and have it run though. And if I included it in multiple places it runs multiple times.I want to run test_synthesis once at the end ... no matter what. Is there a way to do this?
The text was updated successfully, but these errors were encountered: