How to test QIIME 2 plugins#
This document is a placeholder at the moment.
Briefly, QIIME 2 provides a test harness to simplify a few of the more repetitive parts of testing.
This is the TestPluginBase
class (qiime2.plugin.testing.TestPluginBase
).
Examples#
Pending full documentation, here are some references where you can see how aspects of QIIME 2 plugins can be tested:
Plugin registration - note that testing of plugin registration doesnโt require the use of the
TestPluginBase
class.
You can see an example of all of these in one place in the q2-sapienns test suite. You can learn about the q2-sapienns plugin here.