C# Class Akka.MultiNodeTestRunner.Program

Entry point for the MultiNodeTestRunner
Datei anzeigen Open project: rogeralsing/akka.net

Protected Properties

Property Type Description
OutputDirectory string
SinkCoordinator IActorRef
TestRunSystem ActorSystem

Private Methods

Method Description
CloseAllSinks ( ) : void
EnableAllSinks ( string assemblyName ) : void
FinishSpec ( ) : void
Main ( string args ) : void

MultiNodeTestRunner takes the following args: C:\> Akka.MultiNodeTestRunner.exe [assembly name] [-Dmultinode.enable-filesink=on] [-Dmultinode.output-directory={dir path}] [-Dmultinode.spec={spec name}] Argument The name and possible value of a given Akka.MultiNodeTestRunner.exe argument. AssemblyName The full path or name of an assembly containing as least one MultiNodeSpec in the current working directory. i.e. "Akka.Cluster.Tests.MultiNode.dll" "C:\akka.net\src\Akka.Cluster.Tests\bin\Debug\Akka.Cluster.Tests.MultiNode.dll" -Dmultinode.enable-filesink Having this flag set means that the contents of this test run will be saved in the current working directory as a .JSON file. -Dmultinode.multinode.output-directory Setting this flag means that any persistent multi-node test runner output files will be written to this directory instead of the default, which is the same folder as the test binary. -Dmultinode.listen-address={ip} Determines the address that this multi-node test runner will use to listen for log messages from individual NodeTestRunner.exe processes. Defaults to 127.0.0.1 -Dmultinode.listen-port={port} Determines the port number that this multi-node test runner will use to listen for log messages from individual NodeTestRunner.exe processes. Defaults to 6577 -Dmultinode.spec={spec name} Setting this flag means that only tests which contains the spec name will be executed otherwise all tests will be executed

PublishRunnerMessage ( string message ) : void
PublishToAllSinks ( string message ) : void
ReportSpecPassFromExitCode ( int nodeIndex, string testName ) : void
StartNewSpec ( IList tests ) : void

Property Details

OutputDirectory protected_oe static_oe property

file output directory
protected static string OutputDirectory
return string

SinkCoordinator protected_oe static_oe property

protected static IActorRef SinkCoordinator
return IActorRef

TestRunSystem protected_oe static_oe property

protected static ActorSystem TestRunSystem
return ActorSystem