Akka.TestKit Namespace
Classes
Class | Description | |
---|---|---|
![]() |
CallingThreadDispatcher | |
![]() |
FSMSpecHelpers | |
![]() |
ImplicitSenderSpec | |
![]() |
TestActorRef | |
![]() |
TestActorRef..::..InternalGetActor | |
![]() |
TestActorRef<(Of <(<'T>)>)> |
This special ActorRef is exclusively for use during unit testing in a single-threaded environment. Therefore, it
overrides the dispatcher to CallingThreadDispatcher and sets the receiveTimeout to None. Otherwise,
it acts just like a normal ActorRef. You may retrieve a reference to the underlying actor to test internal logic.
|
![]() |
TestKitExtension | |
![]() |
TestKitSettings |
Contains settings to be used when writing tests with TestKit.
|
![]() |
TestLatch |
Countdown latch wrapper for use in testing.
It always uses a timeout when waiting and timeouts are specified as durations.
There's a default timeout of 5 seconds and the default count is 1.
Timeouts will always throw an exception.
|