{"id":56170,"library":"solr-test-framework","title":"Apache Solr Test Framework","description":"Apache Solr (module: test-framework)","status":"active","version":"10.0.0","language":"java","source_language":null,"source_url":"https://gitbox.apache.org/repos/asf?p=solr.git","tags":["solr","testing","search","framework"],"install":[{"cmd":"<dependency>\n  <groupId>org.apache.solr</groupId>\n  <artifactId>solr-test-framework</artifactId>\n  <version>10.0.0</version>\n</dependency>","lang":"xml","label":"Maven"},{"cmd":"implementation 'org.apache.solr:solr-test-framework:10.0.0'","lang":"groovy","label":"Gradle"}],"dependencies":[],"imports":[{"symbol":"SolrTestCaseJ4","correct":"org.apache.solr.SolrTestCaseJ4"}],"quickstart":{"code":"import org.apache.solr.SolrTestCaseJ4;\nimport org.junit.Test;\n\npublic class ExampleTest extends SolrTestCaseJ4 {\n    @Test\n    public void testBasic() throws Exception {\n        assertU(adoc(\"id\", \"1\", \"name\", \"test\"));\n        assertU(commit());\n        assertQ(req(\"id:1\"), \"//result[@numFound=1]\");\n    }\n}","lang":"java","description":"Write a Solr test case using SolrTestCaseJ4."},"warnings":[{"fix":"Use SolrTestCaseJ4 which sets up an embedded Solr server automatically.","message":"Solr test framework requires a running Solr instance or embedded server setup; not standalone.","severity":"gotcha","affected_versions":"all"}],"env_vars":null,"search_vec":"'apach':1,5 'framework':4,10,14 'modul':7 'search':13 'solr':2,6,11 'test':3,9,12 'test-framework':8","created_at":"2026-06-15T10:23:49.359338+00:00","updated_at":"2026-06-15T10:23:49.359338+00:00","problems":[],"ecosystem":"maven","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://solr.apache.org/","github":null,"docs":"https://appdoc.app/artifact/org.apache.solr/solr-test-framework/","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["testing"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-15","next_check":"2026-12-12","install_tag":null}}