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
I'd like more thorough unit test coverage of the plugins mechanism - in particular for installable plugins.
I think I can do this while still having the code live in the same repo, by creating a subdirectory in tests/example_plugin with its own setup.py and then running python setup.py install as part of the test runner.
I imagine I will need to bump the version number every time I change the plugin in case someone runs the test again in the same virtual environment.
If that doesn't work I can instead ship a datasette-plugins-tests two to PyPI and add that as a tests_require dependency.
I'd like more thorough unit test coverage of the plugins mechanism - in particular for installable plugins.
I think I can do this while still having the code live in the same repo, by creating a subdirectory in tests/example_plugin with its own setup.py and then running
python setup.py install
as part of the test runner.I imagine I will need to bump the version number every time I change the plugin in case someone runs the test again in the same virtual environment.
If that doesn't work I can instead ship a datasette-plugins-tests two to PyPI and add that as a tests_require dependency.
Refs #14
The text was updated successfully, but these errors were encountered: