When developing Solr plugins for the open source community (or your in-house Solr team) you’re faced with testing the plugin’s compatiblity against a range of Solr versions. The Solr Test Framework provides a great tool set for writing JUnit and integration tests against a single Solr version.
In this post I’ll guide you through adding Integration Tests to a Solr plugin project. We want to ensure the plugin’s functionality through a configurable range of Solr versions. I will add links to working examples in the Querqy Query Parser as I recently added those kind of tests there.