Assertions: Classification¶
TL;DR — This page mirrors the
Classificationsection from Assertions as a focused reference.
When to use¶
Use this page when you need the focused member list, signatures, and source notes for this section without scanning the full parent reference.
C# (CAC) usage¶
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.
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.
Edge cases¶
- This page is generated from the parent reference section; edit the source XML docs or generator when content needs to change.
- If a linked source member is renamed, regenerate the reference docs before changing prose by hand.