Hacker News new | ask | show | jobs
by westurner 521 days ago
The pytest-evals README mentions that it's built on pytest-harvest, which works with pytest-xdist and pytest-asyncio.

pytest-harvest: https://smarie.github.io/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

1 comments

Yeah, pytest-harvest is a pretty cool plugin.

Originally I had a (very large and unfriendly) conftest file, but it was quite challenging to collaborate with other team members and was quite repetitive. So I wrapped it as a plugin, added some more functionalities and thats it.

This plugin wraps some boilerplate code in a way that is easy to use specially for the eval use-case. It’s minimalistic by design. Nothing big or fancy