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
django_test_migration is growing, so it's pytest plugin also, e.g. in #138 more logic was added to it.
Currently, most tests use subprocess to run pytest and make some assertions on its output.
The following approach is limited, it requires quite much code in each test and it runs pytest on all project's tests by default. pytest has pytester plugin that is really useful for testing custom pytest plugins, so it will be nice to add more detailed tests of our django_test_migration plugin using pytester.
We could also try to remove pytest_plugin from the coverage:runomit option, because it should be covered by tests then.
The text was updated successfully, but these errors were encountered:
django_test_migration
is growing, so it'spytest
plugin also, e.g. in #138 more logic was added to it.Currently, most tests use
subprocess
to runpytest
and make some assertions on its output.The following approach is limited, it requires quite much code in each test and it runs
pytest
on all project's tests by default.pytest
haspytester
plugin that is really useful for testing custompytest
plugins, so it will be nice to add more detailed tests of ourdjango_test_migration
plugin usingpytester
.We could also try to remove
pytest_plugin
from thecoverage:run
omit
option, because it should be covered by tests then.The text was updated successfully, but these errors were encountered: