Package

akka.typed

testkit

Permalink

package testkit

Content Hierarchy
Visibility
  1. Public
  2. All

Type Members

  1. abstract class Effect extends AnyRef

    Permalink

    All tracked effects must extend implement this type.

    All tracked effects must extend implement this type. It is deliberately not sealed in order to allow extensions.

  2. class EffectfulActorContext[T] extends StubbedActorContext[T]

    Permalink

    An ActorContext for testing purposes that records the effects performed on it and otherwise stubs them out like a StubbedActorContext.

  3. class Inbox[T] extends AnyRef

    Permalink

    Utility for receiving messages outside of an actor.

    Utility for receiving messages outside of an actor. No methods are provided for synchronously awaiting a message, this is primarily useful for synchronous tests of behaviors that send messages to other actors, where an Inbox’s ActorRef can conveniently be used as a stub.

  4. class StubbedActorContext[T] extends ActorContextImpl[T]

    Permalink

    An ActorContext for synchronous execution of a Behavior that provides only stubs for the effects an Actor can perform and replaces created child Actors by a synchronous Inbox (see Inbox.sync).

    An ActorContext for synchronous execution of a Behavior that provides only stubs for the effects an Actor can perform and replaces created child Actors by a synchronous Inbox (see Inbox.sync).

    See EffectfulActorContext for more advanced uses.

  5. class TestEventListener extends Logger with StdOutLogger

    Permalink

    EventListener for running tests, which allows selectively filtering out expected messages.

    EventListener for running tests, which allows selectively filtering out expected messages. To use it, include something like this into your config

    
    akka.typed {
      loggers = ["akka.typed.testkit.TestEventListener"]
    }
    
    

  6. class TestKitSettings extends AnyRef

    Permalink

Value Members

  1. object Effect

    Permalink
  2. object Inbox

    Permalink
  3. object TestKitSettings

    Permalink
  4. package javadsl

    Permalink
  5. package scaladsl

    Permalink

Ungrouped