{"id":54436,"library":"akka-testkit-2-12","title":"Akka TestKit","description":"Akka is a toolkit for building highly concurrent, distributed, and resilient message-driven applications for Java and Scala.","status":"active","version":"2.8.8","language":"java","source_language":null,"source_url":"https://github.com/akka/akka","tags":["akka","testkit","testing","actor"],"install":[{"cmd":"<dependency>\n  <groupId>com.typesafe.akka</groupId>\n  <artifactId>akka-testkit_2.12</artifactId>\n  <version>2.8.8</version>\n</dependency>","lang":"xml","label":"Maven"},{"cmd":"implementation 'com.typesafe.akka:akka-testkit_2.12:2.8.8'","lang":"groovy","label":"Gradle"}],"dependencies":[],"imports":[{"symbol":"TestKit","correct":"akka.testkit.javadsl.TestKit"}],"quickstart":{"code":"import akka.actor.ActorSystem;\nimport akka.testkit.javadsl.TestKit;\nimport org.junit.Test;\n\npublic class MyActorTest {\n    @Test\n    public void test() {\n        ActorSystem system = ActorSystem.create();\n        new TestKit(system) {{\n            // test code\n        }};\n        system.terminate();\n    }\n}","lang":"java","description":"Uses TestKit to test an Akka actor within a JUnit test."},"warnings":[{"fix":"Use Java 11+ or downgrade to Akka 2.6.x for Java 8 support.","message":"Akka TestKit 2.8.x requires Java 11+ and is not compatible with Java 8.","severity":"breaking","affected_versions":">=2.8.0"}],"env_vars":null,"search_vec":"'actor':25 'akka':1,3,22 'applic':17 'build':8 'concurr':10 'distribut':11 'driven':16 'high':9 'java':19 'messag':15 'message-driven':14 'resili':13 'scala':21 'test':24 'testkit':2,23 'toolkit':6","created_at":"2026-06-15T09:05:58.588772+00:00","updated_at":"2026-06-15T09:05:58.588772+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://akka.io/","github":"https://github.com/akka/akka","docs":"https://appdoc.app/artifact/com.typesafe.akka/akka-testkit_2.12/","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}}