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

Remove `execution_time` from the results_bag fixture and use `'duration_ms'` instead of `'duration'` in pytest info #6

Closed smarie closed 5 years ago

smarie commented 5 years ago

It seems that the best duration estimate is the one from pytest because it is really made right before/after the call. However it is not clear that the number was in seconds, so it is probably preferred to have a number of milliseconds and an explicit name.

I will open a separate issue on pytest concerning the way these durations are measured by pytest.