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
62 stars 9 forks source link

Provide a `test_id=` option in `get_session_synthesis_dct` #9

Closed smarie closed 5 years ago

smarie commented 5 years ago

So that people can easily get a smaller/more readable test id.

For example we could support

smarie commented 5 years ago

It seems that patterns as complex as pytest_steps/tests_raw/test_wrapped_in_class.py::TestX::()::test_easy[...] can exist, and maybe even with more nesting. So let's propose: