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
61 stars 8 forks source link

Provide result bags that can contain categories #53

Open smarie opened 3 years ago

smarie commented 3 years ago

These categories could be added in the metadata fixtures described in #52

For example results_bag.kpi.foo = 1 would create if needed the category kpi and inside store the information foo=1.

The [session/module]_results_[dct/df] would not contain the categories, but they would appear in [session/module]_results_meta_[dct/df] (from #52)