Table of Contents

Class TestExecutionBatch

Namespace
Xping.Sdk.Core.Models
Assembly
Xping.Sdk.Core.dll

Represents a batch of test executions for serialization and deserialization. This is the wire format used when transmitting test executions to/from the Xping API.

public sealed class TestExecutionBatch
Inheritance
TestExecutionBatch
Inherited Members

Remarks

This class is used both internally by the SDK and can be used by consumers who need to serialize or deserialize batches of test executions using the Xping serialization format.

Usage Example - Serialization:

var serializer = new XpingJsonSerializer();
var batch = new TestExecutionBatch
{
    Executions = new List<TestExecution> { execution1, execution2 }
};
string json = serializer.Serialize(batch);

Usage Example - Deserialization:

var serializer = new XpingJsonSerializer();
var batch = serializer.Deserialize<TestExecutionBatch>(json);
List<TestExecution> executions = batch?.Executions ?? new List<TestExecution>();

Properties

Executions

Gets or sets the collection of test executions in this batch.

public List<TestExecution> Executions { get; set; }

Property Value

List<TestExecution>