:mod:`memote.suite.collect` =========================== .. py:module:: memote.suite.collect .. autoapi-nested-parse:: Collect results for reporting model quality. .. !! processed by numpydoc !! Module Contents --------------- Classes ~~~~~~~ .. autoapisummary:: memote.suite.collect.ResultCollectionPlugin .. data:: LOGGER .. py:class:: ResultCollectionPlugin(model, sbml_version=None, experimental_config=None, exclusive=None, skip=None, **kwargs) Bases: :class:`object` Provide functionality for complex test result collection. The plugin exposes the fixture ``store`` which can be used in test functions to store values in a dictionary. The dictionary is namespaced to the module so within a module the same keys should not be re-used (unless intended). .. !! processed by numpydoc !! .. attribute:: _param .. method:: pytest_generate_tests(self, metafunc) Parametrize marked functions at runtime. .. !! processed by numpydoc !! .. method:: pytest_runtest_call(self, item) Either run a test exclusively or skip it. .. !! processed by numpydoc !! .. method:: pytest_runtest_teardown(self, item) Collect the annotation from each test case and store it. .. !! processed by numpydoc !! .. method:: pytest_report_teststatus(self, report) Log pytest results for each test. The categories are passed, failed, error, skipped and marked to fail. :Parameters: **report** : TestReport A test report object from pytest with test case result. .. !! processed by numpydoc !! .. method:: model(self) Provide each test case with a pristine model. .. !! processed by numpydoc !! .. method:: sbml_version(self) Provide SBML level, version, and FBC use. .. !! processed by numpydoc !! .. method:: pytest_configure(self, config) Register custom markers at runtime. .. !! processed by numpydoc !!