gammasim / simtools

Tools and applications for the Simulation System of the CTA Observatory.
https://gammasim.github.io/simtools
BSD 3-Clause "New" or "Revised" License
9 stars 1 forks source link

Add docstrings to pytest fixtures #1021

Open GernotMaier opened 1 week ago

GernotMaier commented 1 week ago

We are using in >30 fixtures defined in conftest.py plus more in the other testing code. It is easy to forget about them and introduce duplicated code.

Pytest has the nice feature of listing all fixtures using pytest --fixtures.

This printout should be improved by adding docstrings to the fixtures.