smarie / python-pytest-harvest

Store data created during your `pytest` tests execution, and retrieve it at the end of the session, e.g. for applicative benchmarking purposes.
https://smarie.github.io/python-pytest-harvest/
BSD 3-Clause "New" or "Revised" License
63 stars 9 forks source link

Allow `get_session_synthesis_dct` to take optional storage objects to create concatenated results #3

Closed smarie closed 5 years ago

smarie commented 5 years ago

Currently get_session_synthesis_dct outputs a dict containing pytest session results And on the other hand users create storage objects to store their fixtures and results_bags. We could provide an optional way to merge the two in a single dict, for convenience.

smarie commented 5 years ago

We should probably also add a flatten_output parameter so that users can either get a nested dictionaries version or a flattened one.

smarie commented 5 years ago

And a filter to get only the synthesis concerning a given pytest object