C# Class CommonTests.Framework.TestRunner

Inheritance: ITestListener
Show file Open project: aws/aws-sdk-net Class Usage Examples

Private Properties

Property Type Description
Execute bool
IsInternetAvailable bool
PushLog void
PushLogToS3 void
PushLogToSNS void

Public Methods

Method Description
ExecuteAllTests ( ) : bool
ExecuteAllTestsAsync ( ) : Task
TestFinished ( ITestResult result ) : void
TestRunner ( ) : Amazon
TestStarted ( ITest test ) : void
WriteError ( string format ) : void
WriteToOutput ( string format, LogLevel level ) : void
WriteVerbose ( string format ) : void

Protected Methods

Method Description
TestCompleted ( NUnit.Framework.Internal.TestMethod test ) : void
TestCompleted ( string testMethodName, bool succeeded ) : void
WriteInfo ( string format ) : void
WriteLine ( string message ) : void

Private Methods

Method Description
Execute ( ) : bool
IsInternetAvailable ( ) : bool
PushLog ( bool allPassed ) : void
PushLogToS3 ( string key, string log ) : void
PushLogToSNS ( string snsSubject, string log ) : void

Method Details

ExecuteAllTests() public method

public ExecuteAllTests ( ) : bool
return bool

ExecuteAllTestsAsync() public method

public ExecuteAllTestsAsync ( ) : Task
return Task

TestCompleted() protected method

protected TestCompleted ( NUnit.Framework.Internal.TestMethod test ) : void
test NUnit.Framework.Internal.TestMethod
return void

TestCompleted() protected method

protected TestCompleted ( string testMethodName, bool succeeded ) : void
testMethodName string
succeeded bool
return void

TestFinished() public method

public TestFinished ( ITestResult result ) : void
result ITestResult
return void

TestRunner() public method

public TestRunner ( ) : Amazon
return Amazon

TestStarted() public method

public TestStarted ( ITest test ) : void
test ITest
return void

WriteError() public method

public WriteError ( string format ) : void
format string
return void

WriteInfo() protected method

protected WriteInfo ( string format ) : void
format string
return void

WriteLine() protected abstract method

protected abstract WriteLine ( string message ) : void
message string
return void

WriteToOutput() public method

public WriteToOutput ( string format, LogLevel level ) : void
format string
level LogLevel
return void

WriteVerbose() public method

public WriteVerbose ( string format ) : void
format string
return void