{"id":54375,"library":"junit-dep","title":"JUnit (deprecated)","description":"JUnit is a regression testing framework for unit testing in Java, with this artifact being a deprecated version.","status":"active","version":"4.8.2","language":"java","source_language":null,"source_url":"https://github.com/KentBeck/junit","tags":["testing","junit","unit-test"],"install":[{"cmd":"<dependency>\n  <groupId>junit</groupId>\n  <artifactId>junit-dep</artifactId>\n  <version>4.8.2</version>\n</dependency>","lang":"xml","label":"Maven"},{"cmd":"implementation 'junit:junit-dep:4.8.2'","lang":"groovy","label":"Gradle"}],"dependencies":[],"imports":[{"symbol":"Test","correct":"org.junit.Test"}],"quickstart":{"code":"import org.junit.Test;\nimport static org.junit.Assert.assertEquals;\n\npublic class MyTest {\n    @Test\n    public void testAddition() {\n        assertEquals(4, 2 + 2);\n    }\n}","lang":"java","description":"A simple JUnit test method."},"warnings":[{"fix":"Replace dependency with junit:junit:4.13.2.","message":"junit-dep is deprecated; use junit:junit instead.","severity":"breaking","affected_versions":">=4.0.0 <5.0.0"}],"env_vars":null,"search_vec":"'artifact':16 'deprec':2,19 'framework':8 'java':13 'junit':1,3,22 'regress':6 'test':7,11,21,25 'unit':10,24 'unit-test':23 'version':20","created_at":"2026-06-15T09:03:03.655189+00:00","updated_at":"2026-06-15T09:03:03.655189+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":"http://junit.org","github":"https://github.com/KentBeck/junit","docs":"https://appdoc.app/artifact/junit/junit-dep/","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}}