Testing Plugins

Testing a QIIME 2 plugin is a snap with TestPluginBase!

This document will not attempt to detail best-practices with respect to testing strategies - ask n developers how to test code and you will get n+1 answers back. QIIME 2 does however provide a convenience test harness to simplify a few of the more repetitive parts of testing. Rather than copy-and-paste code blocks here, links to the real code are presented below.

Plugin Registration


testing plugin registration does not require the use of the QIIME 2 test harness.