Click or drag to resize
Akka.NETTestKitSettings Class
Contains settings to be used when writing tests with TestKit.
Inheritance Hierarchy
SystemObject
  Akka.TestKitTestKitSettings

Namespace:  Akka.TestKit
Assembly:  Akka.TestKit (in Akka.TestKit.dll) Version: 1.2.3.42 (1.2.3.42)
Syntax
public class TestKitSettings : IExtension

The TestKitSettings type exposes the following members.

Constructors
  NameDescription
Public methodTestKitSettings
Initializes a new instance of the TestKitSettings class.
Top
Properties
  NameDescription
Public propertyDefaultTimeout
Gets the default timeout as specified in the setting akka.test.default-timeout. Typically used for Ask-timeouts. It is always finite.
Public propertyLogTestKitCalls
If set to true calls to testkit will be logged. This is enabled by setting the configuration value "akka.test.testkit.debug" to a true.
Public propertySingleExpectDefault
Gets the config value "akka.test.single-expect-default". It is always finite.
Public propertyTestEventFilterLeeway
Gets the config value "akka.test.filter-leeway". It is always finite.
Public propertyTestTimeFactor
Gets the timefactor by which all values are scaled by.

The tight timeouts you use during testing on your lightning-fast notebook will invariably lead to spurious test failures on the heavily loaded CI server. To account for this situation, all maximum durations are internally scaled by this factor, which defaults to 1. To change this value set configuration "akka.test.timefactor" to a positive double/integer.

You can scale other durations with the same factor by using the Testkit.Dilated

Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Extension Methods
See Also