Show / Hide Table of Contents

Namespace LaunchDarkly.TestHelpers

General-purpose helper types.

This namespace provides generic tools such as BuilderBehavior and TypeBehavior; JSON comparison assertions with rich output in JsonAssertions; and other general test helpers.

Classes

Assertions

Miscellaneous Xunit helpers.

BuilderBehavior

Factories for helper classes that provide useful test patterns for builder types.

BuilderBehavior.BuildTester<TBuilder, TBuilt>

Helper class that provides useful test patterns for a builder type and the type that it builds.

BuilderBehavior.InternalStateTester<TBuilder>

Similar to BuilderBehavior.BuildTester<TBuilder, TBuilt>, but instead of testing the values of properties in the built object, it inspects the builder directly.

EventSink<T>

A synchronous blocking queue with Xunit assertion helpers.

JsonAssertions

Test assertions related to JSON.

JsonTestValue

A simple wrapper for a string that can be parsed as JSON for tests.

TypeBehavior

Xunit test assertions that may be helpful in testing generic type behavior.

Interfaces

BuilderBehavior.IPropertyAssertions<TValue>

Assertions provided by the property-specific helpers.

In This Article
Back to top Generated by DocFX