TestScenario Class

Definition

Base class for TestScenarios which defines all the common methods and functionality.

public abstract class TestScenario : IDisposable
type TestScenario = class
    interface IDisposable
Public MustInherit Class TestScenario
Implements IDisposable
Inheritance
System.Object
TestScenario
Derived
Implements
System.IDisposable

Constructors

TestScenario(FabricClient, TestScenarioParameters)

This API supports the Service Fabric platform and is not meant to be called from your code

Fields

ProgressChanged

Event handler which exposes the current progress of the test. When handled it gives you the ProgressChangedEventArgs which gives out a total % of the test which has already completed and the last operation (string) that was performed which can be useful for logging.

Properties

FabricClient

This API supports the Service Fabric platform and is not meant to be called from your code

ScenarioParameters

This API supports the Service Fabric platform and is not meant to be called from your code

Methods

Dispose()

This method will dispose the TestScenario.

ExecuteAsync(CancellationToken)

This method executes the test with the specified parameter set passed into the constructor.

GetElapsedTime()

This API supports the Service Fabric platform and is not meant to be called from your code

HandleTaskComplete(Task, String, String)

This API supports the Service Fabric platform and is not meant to be called from your code

OnDispose(Boolean)

This API supports the Service Fabric platform and is not meant to be called from your code

OnExecuteAsync(CancellationToken)

This API supports the Service Fabric platform and is not meant to be called from your code

ReportProgress(String)

This API supports the Service Fabric platform and is not meant to be called from your code

ReportProgress(String, Object[])

This API supports the Service Fabric platform and is not meant to be called from your code

ValidateScenarioAtExitAsync(CancellationToken)

This API supports the Service Fabric platform and is not meant to be called from your code

Applies to