You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently there seems to be no easy way to create additional features for the testrunner in packages outside zope.testrunner. See Shoobx/shoobx.junitxml as an example of such a plug-in. (Its README what is currently needed to integrate it in zope.testrunner. But this is only one half of what has to be done: The code has to be called before executing the configuration phase of zope.testrunner. So having it in a module of the package under test is too late.)
Currently there seems to be no easy way to create additional features for the testrunner in packages outside
zope.testrunner
. See Shoobx/shoobx.junitxml as an example of such a plug-in. (Its README what is currently needed to integrate it inzope.testrunner
. But this is only one half of what has to be done: The code has to be called before executing the configuration phase ofzope.testrunner
. So having it in a module of the package under test is too late.)Pytest uses setuptools entry points for the discovery of plug-ins, see https://docs.pytest.org/en/latest/writing_plugins.html#setuptools-entry-points
Maybe this could be an idea here, too.
The text was updated successfully, but these errors were encountered: