I\'m coding some tests for my solr-indexer application. Following testing best practices, I want to write code self-dependant, just loading the schema.xml and
schema.xml
You can start with the SolrExampleTests which extends SolrExampleTestBase which extends AbstractSolrTestCase .
Also this SampleTest.
Also take a look at this and this threads.