Registry / testing / akka-testkit-2-12

akka-testkit-2-12

JSON →
library2.8.8javamavenunverified

Akka is a toolkit for building highly concurrent, distributed, and resilient message-driven applications for Java and Scala.

<dependency> <groupId>com.typesafe.akka</groupId> <artifactId>akka-testkit_2.12</artifactId> <version>2.8.8</version> </dependency>
INSTALL
IMPORT
SIG · AKKA-TESTKIT-2-12
A
akka-testkit-2-12
testingjavav2.8.8
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

TestKit
✓ akka.testkit.javadsl.TestKit

Uses TestKit to test an Akka actor within a JUnit test.

import akka.actor.ActorSystem; import akka.testkit.javadsl.TestKit; import org.junit.Test; public class MyActorTest { @Test public void test() { ActorSystem system = ActorSystem.create(); new TestKit(system) {{ // test code }}; system.terminate(); } }
Debug
Known issues
breakingAkka TestKit 2.8.x requires Java 11+ and is not compatible with Java 8.
fix
Use Java 11+ or downgrade to Akka 2.6.x for Java 8 support.
affects: >=2.8.0
Upgrade
Version history
2.8.8latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
45 hits · last 30 days
node
38
Amazon
1
OpenAI (training)
1
Resources
akka-testkit-2-12 — mvn dependency:get akka-testkit-2-12 · libregistry