Unit Tests#
Use
pytestfor all unit tests.Tests go in
molsysmt/tests/usingtest_<function>.pynaming.Use
@pytest.mark.parametrizewhen testing over multiple forms.Track test coverage via Codecov: https://app.codecov.io/github/uibcdf/MolSysMT
Validate tutorials optionally using
nbvalorpytest + papermill.
Las opciones ‘+ELLIPSIS’ y ‘NORMALIZE_WHITESPACE’ fueron incluidas por defecto en el fichero pytest.ini (no es necesario repetirlas en el docstring).