Skip to content

Assertions

Each entry uses the short function name as the table-of-contents label. Expand an entry to inspect its source file, signature, and XML doc comments.

The functions on this page are grouped by responsibility so related operations stay together.

Identity and hook selection

Named

Source file, signature, and docstring

Member AssertionBuilder.Named(string name)

Kind function

Declaring Type AssertionBuilder

Source File QaaS.Runner.Assertions/ConfigurationObjects/AssertionBuilder.cs

Signature

public AssertionBuilder Named(string name)

Docstring

Sets the name used for the current Runner assertion builder instance.

Use this method when working with the documented Runner assertion builder API surface in code. The change is stored on the current builder instance and is consumed by later build, validation, or execution steps.

HookNamed

Source file, signature, and docstring

Member AssertionBuilder.HookNamed(string hookName)

Kind function

Declaring Type AssertionBuilder

Source File QaaS.Runner.Assertions/ConfigurationObjects/AssertionBuilder.cs

Signature

public AssertionBuilder HookNamed(string hookName)

Docstring

Sets the hook implementation name used by the current Runner assertion builder instance.

Use this method when working with the documented Runner assertion builder API surface in code. The change is stored on the current builder instance and is consumed by later build, validation, or execution steps.

Classification

WithCategory

Source file, signature, and docstring

Member AssertionBuilder.WithCategory(string category)

Kind function

Declaring Type AssertionBuilder

Source File QaaS.Runner.Assertions/ConfigurationObjects/AssertionBuilder.cs

Signature

public AssertionBuilder WithCategory(string category)

Docstring

Configures category on the current Runner assertion builder instance.

Use this method when working with the documented Runner assertion builder API surface in code. The change is stored on the current builder instance and is consumed by later build, validation, or execution steps.

WithSeverity

Source file, signature, and docstring

Member AssertionBuilder.WithSeverity(AssertionSeverity severity)

Kind function

Declaring Type AssertionBuilder

Source File QaaS.Runner.Assertions/ConfigurationObjects/AssertionBuilder.cs

Signature

public AssertionBuilder WithSeverity(AssertionSeverity severity)

Docstring

Sets the severity associated with the assertion result.

Use this method when working with the documented Runner assertion builder API surface in code. The change is stored on the current builder instance and is consumed by later build, validation, or execution steps.

Data source selection

AddDataSourceName

Source file, signature, and docstring

Member AssertionBuilder.AddDataSourceName(string dataSourceName)

Kind function

Declaring Type AssertionBuilder

Source File QaaS.Runner.Assertions/ConfigurationObjects/AssertionBuilder.cs

Signature

public AssertionBuilder AddDataSourceName(string dataSourceName)

Docstring

Adds the supplied data source name to the current Runner assertion builder instance.

Use this method when working with the documented Runner assertion builder API surface in code. The change is stored on the current builder instance and is consumed by later build, validation, or execution steps.

CreateDataSourceName

Source file, signature, and docstring

Member AssertionBuilder.CreateDataSourceName(string dataSourceName)

Kind function

Declaring Type AssertionBuilder

Source File QaaS.Runner.Assertions/ConfigurationObjects/AssertionBuilder.cs

Signature

public AssertionBuilder CreateDataSourceName(string dataSourceName)

Docstring

Creates or adds the configured data source name entry on the current Runner assertion builder instance.

Use this method when working with the documented Runner assertion builder API surface in code. The change is stored on the current builder instance and is consumed by later build, validation, or execution steps.

ReadDataSourceNames

Source file, signature, and docstring

Member AssertionBuilder.ReadDataSourceNames()

Kind function

Declaring Type AssertionBuilder

Source File QaaS.Runner.Assertions/ConfigurationObjects/AssertionBuilder.cs

Signature

public IReadOnlyList<string> ReadDataSourceNames()

Docstring

Returns the configured data source names currently stored on the Runner assertion builder instance.

Use this method when working with the documented Runner assertion builder API surface in code. Use it to inspect the current configured state without rebuilding the surrounding collection or runtime object graph.

UpdateDataSourceName

Source file, signature, and docstring

Member AssertionBuilder.UpdateDataSourceName(string existingValue, string newValue)

Kind function

Declaring Type AssertionBuilder

Source File QaaS.Runner.Assertions/ConfigurationObjects/AssertionBuilder.cs

Signature

public AssertionBuilder UpdateDataSourceName(string existingValue, string newValue)

Docstring

Updates the configured data source name stored on the current Runner assertion builder instance.

Use this method when working with the documented Runner assertion builder API surface in code. The change is stored on the current builder instance and is consumed by later build, validation, or execution steps.

DeleteDataSourceName

Source file, signature, and docstring

Member AssertionBuilder.DeleteDataSourceName(string dataSourceName)

Kind function

Declaring Type AssertionBuilder

Source File QaaS.Runner.Assertions/ConfigurationObjects/AssertionBuilder.cs

Signature

public AssertionBuilder DeleteDataSourceName(string dataSourceName)

Docstring

Removes the configured data source name from the current Runner assertion builder instance.

Use this method when working with the documented Runner assertion builder API surface in code. The change is stored on the current builder instance and is consumed by later build, validation, or execution steps.

AddDataSourcePattern

Source file, signature, and docstring

Member AssertionBuilder.AddDataSourcePattern(string dataSourcePattern)

Kind function

Declaring Type AssertionBuilder

Source File QaaS.Runner.Assertions/ConfigurationObjects/AssertionBuilder.cs

Signature

public AssertionBuilder AddDataSourcePattern(string dataSourcePattern)

Docstring

Adds the supplied data source pattern to the current Runner assertion builder instance.

Use this method when working with the documented Runner assertion builder API surface in code. The change is stored on the current builder instance and is consumed by later build, validation, or execution steps.

CreateDataSourcePattern

Source file, signature, and docstring

Member AssertionBuilder.CreateDataSourcePattern(string dataSourcePattern)

Kind function

Declaring Type AssertionBuilder

Source File QaaS.Runner.Assertions/ConfigurationObjects/AssertionBuilder.cs

Signature

public AssertionBuilder CreateDataSourcePattern(string dataSourcePattern)

Docstring

Creates or adds the configured data source pattern entry on the current Runner assertion builder instance.

Use this method when working with the documented Runner assertion builder API surface in code. The change is stored on the current builder instance and is consumed by later build, validation, or execution steps.

ReadDataSourcePatterns

Source file, signature, and docstring

Member AssertionBuilder.ReadDataSourcePatterns()

Kind function

Declaring Type AssertionBuilder

Source File QaaS.Runner.Assertions/ConfigurationObjects/AssertionBuilder.cs

Signature

public IReadOnlyList<string> ReadDataSourcePatterns()

Docstring

Returns the configured data source patterns currently stored on the Runner assertion builder instance.

Use this method when working with the documented Runner assertion builder API surface in code. Use it to inspect the current configured state without rebuilding the surrounding collection or runtime object graph.

UpdateDataSourcePattern

Source file, signature, and docstring

Member AssertionBuilder.UpdateDataSourcePattern(string existingValue, string newValue)

Kind function

Declaring Type AssertionBuilder

Source File QaaS.Runner.Assertions/ConfigurationObjects/AssertionBuilder.cs

Signature

public AssertionBuilder UpdateDataSourcePattern(string existingValue, string newValue)

Docstring

Updates the configured data source pattern stored on the current Runner assertion builder instance.

Use this method when working with the documented Runner assertion builder API surface in code. The change is stored on the current builder instance and is consumed by later build, validation, or execution steps.

DeleteDataSourcePattern

Source file, signature, and docstring

Member AssertionBuilder.DeleteDataSourcePattern(string dataSourcePattern)

Kind function

Declaring Type AssertionBuilder

Source File QaaS.Runner.Assertions/ConfigurationObjects/AssertionBuilder.cs

Signature

public AssertionBuilder DeleteDataSourcePattern(string dataSourcePattern)

Docstring

Removes the configured data source pattern from the current Runner assertion builder instance.

Use this method when working with the documented Runner assertion builder API surface in code. The change is stored on the current builder instance and is consumed by later build, validation, or execution steps.

Session selection

AddSessionName

Source file, signature, and docstring

Member AssertionBuilder.AddSessionName(string sessionName)

Kind function

Declaring Type AssertionBuilder

Source File QaaS.Runner.Assertions/ConfigurationObjects/AssertionBuilder.cs

Signature

public AssertionBuilder AddSessionName(string sessionName)

Docstring

Adds the supplied session name to the current Runner assertion builder instance.

Use this method when working with the documented Runner assertion builder API surface in code. The change is stored on the current builder instance and is consumed by later build, validation, or execution steps.

CreateSessionName

Source file, signature, and docstring

Member AssertionBuilder.CreateSessionName(string sessionName)

Kind function

Declaring Type AssertionBuilder

Source File QaaS.Runner.Assertions/ConfigurationObjects/AssertionBuilder.cs

Signature

public AssertionBuilder CreateSessionName(string sessionName)

Docstring

Creates or adds the configured session name entry on the current Runner assertion builder instance.

Use this method when working with the documented Runner assertion builder API surface in code. The change is stored on the current builder instance and is consumed by later build, validation, or execution steps.

ReadSessionNames

Source file, signature, and docstring

Member AssertionBuilder.ReadSessionNames()

Kind function

Declaring Type AssertionBuilder

Source File QaaS.Runner.Assertions/ConfigurationObjects/AssertionBuilder.cs

Signature

public IReadOnlyList<string> ReadSessionNames()

Docstring

Returns the configured session names currently stored on the Runner assertion builder instance.

Use this method when working with the documented Runner assertion builder API surface in code. Use it to inspect the current configured state without rebuilding the surrounding collection or runtime object graph.

UpdateSessionName

Source file, signature, and docstring

Member AssertionBuilder.UpdateSessionName(string existingValue, string newValue)

Kind function

Declaring Type AssertionBuilder

Source File QaaS.Runner.Assertions/ConfigurationObjects/AssertionBuilder.cs

Signature

public AssertionBuilder UpdateSessionName(string existingValue, string newValue)

Docstring

Updates the configured session name stored on the current Runner assertion builder instance.

Use this method when working with the documented Runner assertion builder API surface in code. The change is stored on the current builder instance and is consumed by later build, validation, or execution steps.

DeleteSessionName

Source file, signature, and docstring

Member AssertionBuilder.DeleteSessionName(string sessionName)

Kind function

Declaring Type AssertionBuilder

Source File QaaS.Runner.Assertions/ConfigurationObjects/AssertionBuilder.cs

Signature

public AssertionBuilder DeleteSessionName(string sessionName)

Docstring

Removes the configured session name from the current Runner assertion builder instance.

Use this method when working with the documented Runner assertion builder API surface in code. The change is stored on the current builder instance and is consumed by later build, validation, or execution steps.

AddSessionPattern

Source file, signature, and docstring

Member AssertionBuilder.AddSessionPattern(string sessionPattern)

Kind function

Declaring Type AssertionBuilder

Source File QaaS.Runner.Assertions/ConfigurationObjects/AssertionBuilder.cs

Signature

public AssertionBuilder AddSessionPattern(string sessionPattern)

Docstring

Adds the supplied session pattern to the current Runner assertion builder instance.

Use this method when working with the documented Runner assertion builder API surface in code. The change is stored on the current builder instance and is consumed by later build, validation, or execution steps.

CreateSessionPattern

Source file, signature, and docstring

Member AssertionBuilder.CreateSessionPattern(string sessionPattern)

Kind function

Declaring Type AssertionBuilder

Source File QaaS.Runner.Assertions/ConfigurationObjects/AssertionBuilder.cs

Signature

public AssertionBuilder CreateSessionPattern(string sessionPattern)

Docstring

Creates or adds the configured session pattern entry on the current Runner assertion builder instance.

Use this method when working with the documented Runner assertion builder API surface in code. The change is stored on the current builder instance and is consumed by later build, validation, or execution steps.

ReadSessionPatterns

Source file, signature, and docstring

Member AssertionBuilder.ReadSessionPatterns()

Kind function

Declaring Type AssertionBuilder

Source File QaaS.Runner.Assertions/ConfigurationObjects/AssertionBuilder.cs

Signature

public IReadOnlyList<string> ReadSessionPatterns()

Docstring

Returns the configured session patterns currently stored on the Runner assertion builder instance.

Use this method when working with the documented Runner assertion builder API surface in code. Use it to inspect the current configured state without rebuilding the surrounding collection or runtime object graph.

UpdateSessionPattern

Source file, signature, and docstring

Member AssertionBuilder.UpdateSessionPattern(string existingValue, string newValue)

Kind function

Declaring Type AssertionBuilder

Source File QaaS.Runner.Assertions/ConfigurationObjects/AssertionBuilder.cs

Signature

public AssertionBuilder UpdateSessionPattern(string existingValue, string newValue)

Docstring

Updates the configured session pattern stored on the current Runner assertion builder instance.

Use this method when working with the documented Runner assertion builder API surface in code. The change is stored on the current builder instance and is consumed by later build, validation, or execution steps.

DeleteSessionPattern

Source file, signature, and docstring

Member AssertionBuilder.DeleteSessionPattern(string sessionPattern)

Kind function

Declaring Type AssertionBuilder

Source File QaaS.Runner.Assertions/ConfigurationObjects/AssertionBuilder.cs

Signature

public AssertionBuilder DeleteSessionPattern(string sessionPattern)

Docstring

Removes the configured session pattern from the current Runner assertion builder instance.

Use this method when working with the documented Runner assertion builder API surface in code. The change is stored on the current builder instance and is consumed by later build, validation, or execution steps.

Source file, signature, and docstring

Member AssertionBuilder.AddLink(LinkBuilder linkBuilder)

Kind function

Declaring Type AssertionBuilder

Source File QaaS.Runner.Assertions/ConfigurationObjects/AssertionBuilder.cs

Signature

public AssertionBuilder AddLink(LinkBuilder linkBuilder)

Docstring

Adds the supplied link to the current Runner assertion builder instance.

Use this method when working with the documented Runner assertion builder API surface in code. The change is stored on the current builder instance and is consumed by later build, validation, or execution steps.

Source file, signature, and docstring

Member AssertionBuilder.CreateLink(LinkBuilder linkBuilder)

Kind function

Declaring Type AssertionBuilder

Source File QaaS.Runner.Assertions/ConfigurationObjects/AssertionBuilder.cs

Signature

public AssertionBuilder CreateLink(LinkBuilder linkBuilder)

Docstring

Creates or adds the configured link entry on the current Runner assertion builder instance.

Use this method when working with the documented Runner assertion builder API surface in code. The change is stored on the current builder instance and is consumed by later build, validation, or execution steps.

Source file, signature, and docstring

Member AssertionBuilder.ReadLinks()

Kind function

Declaring Type AssertionBuilder

Source File QaaS.Runner.Assertions/ConfigurationObjects/AssertionBuilder.cs

Signature

public IReadOnlyList<LinkBuilder> ReadLinks()

Docstring

Returns the configured links currently stored on the Runner assertion builder instance.

Use this method when working with the documented Runner assertion builder API surface in code. Use it to inspect the current configured state without rebuilding the surrounding collection or runtime object graph.

Source file, signature, and docstring

Member AssertionBuilder.UpdateLink(string name, LinkBuilder linkBuilder)

Kind function

Declaring Type AssertionBuilder

Source File QaaS.Runner.Assertions/ConfigurationObjects/AssertionBuilder.cs

Signature

public AssertionBuilder UpdateLink(string name, LinkBuilder linkBuilder)

Docstring

Updates the configured link stored on the current Runner assertion builder instance.

Use this method when working with the documented Runner assertion builder API surface in code. The change is stored on the current builder instance and is consumed by later build, validation, or execution steps.

Source file, signature, and docstring

Member AssertionBuilder.DeleteLink(string name)

Kind function

Declaring Type AssertionBuilder

Source File QaaS.Runner.Assertions/ConfigurationObjects/AssertionBuilder.cs

Signature

public AssertionBuilder DeleteLink(string name)

Docstring

Removes the configured link from the current Runner assertion builder instance.

Use this method when working with the documented Runner assertion builder API surface in code. The change is stored on the current builder instance and is consumed by later build, validation, or execution steps.

Reporting and artifacts

ReportOnlyStatuses

Source file, signature, and docstring

Member AssertionBuilder.ReportOnlyStatuses(IList<AssertionStatus> statusesToReport)

Kind function

Declaring Type AssertionBuilder

Source File QaaS.Runner.Assertions/ConfigurationObjects/AssertionBuilder.cs

Signature

public AssertionBuilder ReportOnlyStatuses(IList<AssertionStatus> statusesToReport)

Docstring

Sets which assertion statuses should be included in reports.

Use this method when working with the documented Runner assertion builder API surface in code. The change is stored on the current builder instance and is consumed by later build, validation, or execution steps.

WeatherToSaveSessionData

Source file, signature, and docstring

Member AssertionBuilder.WeatherToSaveSessionData(bool weatherToSaveSessionData)

Kind function

Declaring Type AssertionBuilder

Source File QaaS.Runner.Assertions/ConfigurationObjects/AssertionBuilder.cs

Signature

public AssertionBuilder WeatherToSaveSessionData(bool weatherToSaveSessionData)

Docstring

Configures whether session data is saved with the assertion result.

Use this method when working with the documented Runner assertion builder API surface in code. The change is stored on the current builder instance and is consumed by later build, validation, or execution steps.

WeatherToSaveLogs

Source file, signature, and docstring

Member AssertionBuilder.WeatherToSaveLogs(bool weatherToSaveLogs)

Kind function

Declaring Type AssertionBuilder

Source File QaaS.Runner.Assertions/ConfigurationObjects/AssertionBuilder.cs

Signature

public AssertionBuilder WeatherToSaveLogs(bool weatherToSaveLogs)

Docstring

Configures whether logs are saved with the assertion result.

Use this method when working with the documented Runner assertion builder API surface in code. The change is stored on the current builder instance and is consumed by later build, validation, or execution steps.

WeatherToSaveConfigurationTemplate

Source file, signature, and docstring

Member AssertionBuilder.WeatherToSaveConfigurationTemplate(bool weatherToSaveConfigurationTemplate)

Kind function

Declaring Type AssertionBuilder

Source File QaaS.Runner.Assertions/ConfigurationObjects/AssertionBuilder.cs

Signature

public AssertionBuilder WeatherToSaveConfigurationTemplate(bool weatherToSaveConfigurationTemplate)

Docstring

Configures whether the rendered configuration template is saved with the assertion result.

Use this method when working with the documented Runner assertion builder API surface in code. The change is stored on the current builder instance and is consumed by later build, validation, or execution steps.

WeatherToSaveAttachments

Source file, signature, and docstring

Member AssertionBuilder.WeatherToSaveAttachments(bool weatherToSaveAttachments)

Kind function

Declaring Type AssertionBuilder

Source File QaaS.Runner.Assertions/ConfigurationObjects/AssertionBuilder.cs

Signature

public AssertionBuilder WeatherToSaveAttachments(bool weatherToSaveAttachments)

Docstring

Configures whether attachments are saved with the assertion result.

Use this method when working with the documented Runner assertion builder API surface in code. The change is stored on the current builder instance and is consumed by later build, validation, or execution steps.

WeatherToDisplayTrace

Source file, signature, and docstring

Member AssertionBuilder.WeatherToDisplayTrace(bool weatherToDisplayTrace)

Kind function

Declaring Type AssertionBuilder

Source File QaaS.Runner.Assertions/ConfigurationObjects/AssertionBuilder.cs

Signature

public AssertionBuilder WeatherToDisplayTrace(bool weatherToDisplayTrace)

Docstring

Configures whether the assertion trace is displayed with the result.

Use this method when working with the documented Runner assertion builder API surface in code. The behavior exposed here is part of the public surface that the generated function documentation groups under 'Configuration as Code / Assertions'.

Inspection

ReadConfiguration

Source file, signature, and docstring

Member AssertionBuilder.ReadConfiguration()

Kind function

Declaring Type AssertionBuilder

Source File QaaS.Runner.Assertions/ConfigurationObjects/AssertionBuilder.cs

Signature

public IConfiguration ReadConfiguration()

Docstring

Returns the configuration currently stored on the Runner assertion builder instance.

Use this method when working with the documented Runner assertion builder API surface in code. Use it to inspect the current configured state without rebuilding the surrounding collection or runtime object graph.

Collection helpers

CreateConfiguration

Source file, signature, and docstring

Member AssertionBuilder.CreateConfiguration(object configuration)

Kind function

Declaring Type AssertionBuilder

Source File QaaS.Runner.Assertions/ConfigurationObjects/AssertionBuilder.cs

Signature

public AssertionBuilder CreateConfiguration(object configuration)

Docstring

Sets the configuration currently stored on the Runner assertion builder instance.

Use this method when working with the documented Runner assertion builder API surface in code. The change is stored on the current builder instance and is consumed by later build, validation, or execution steps.

Create

Source file, signature, and docstring

Member AssertionBuilder.Create(object configuration)

Kind function

Declaring Type AssertionBuilder

Source File QaaS.Runner.Assertions/ConfigurationObjects/AssertionBuilder.cs

Signature

public AssertionBuilder Create(object configuration)

Docstring

Sets the configuration currently stored on the Runner assertion builder instance.

Use this method when working with the documented Runner assertion builder API surface in code. The change is stored on the current builder instance and is consumed by later build, validation, or execution steps.

UpdateConfiguration

Source file, signature, and docstring

Member AssertionBuilder.UpdateConfiguration(object configuration)

Kind function

Declaring Type AssertionBuilder

Source File QaaS.Runner.Assertions/ConfigurationObjects/AssertionBuilder.cs

Signature

public AssertionBuilder UpdateConfiguration(object configuration)

Docstring

Updates the configuration currently stored on the Runner assertion builder instance.

Use this method when working with the documented Runner assertion builder API surface in code. The change is stored on the current builder instance and is consumed by later build, validation, or execution steps.

DeleteConfiguration

Source file, signature, and docstring

Member AssertionBuilder.DeleteConfiguration()

Kind function

Declaring Type AssertionBuilder

Source File QaaS.Runner.Assertions/ConfigurationObjects/AssertionBuilder.cs

Signature

public AssertionBuilder DeleteConfiguration()

Docstring

Clears the configuration currently stored on the Runner assertion builder instance.

Use this method when working with the documented Runner assertion builder API surface in code. The change is stored on the current builder instance and is consumed by later build, validation, or execution steps.

General

Configure

Source file, signature, and docstring

Member AssertionBuilder.Configure(object configuration)

Kind function

Declaring Type AssertionBuilder

Source File QaaS.Runner.Assertions/ConfigurationObjects/AssertionBuilder.cs

Signature

public AssertionBuilder Configure(object configuration)

Docstring

Sets the configuration currently stored on the Runner assertion builder instance.

Use this method when working with the documented Runner assertion builder API surface in code. The change is stored on the current builder instance and is consumed by later build, validation, or execution steps.