Show / Hide Table of Contents

Namespace Benday.Common.Testing

Classes

AssertThat

Provides static methods for making assertions in tests with descriptive failure messages.

AssertThatCollection

Provides static methods for making assertions on collections with descriptive failure messages.

AssertThatNumeric

Provides static methods for making assertions on numeric values with descriptive failure messages.

AssertThatString

Provides static methods for making assertions on strings with descriptive failure messages.

AssertionException

Exception thrown when an assertion fails.

CollectionAssertExtensions

Provides fluent assertion extension methods for collections.

InMemoryReadableRepository<T, TKey>

In-memory implementation of IAsyncReadableRepository for testing service layers with single-key entities (non-owned).

InMemoryTenantRepository<T, TKey>

In-memory implementation of IAsyncTenantRepository for testing service layers without any storage emulator or connection string.

MockCreationResult<T>

The result of the creation of an instance of a class with Moq-based mocks.

MockInstanceBuilder<T>

A fluent builder for creating instances of classes with a mix of Moq-based mocks and explicit values for constructor parameters. Use MockUtility.Build<T>() to create an instance of this builder.

MockUtility

This class is used to create instances of classes using reflection and Moq.

NumericAssertExtensions

Provides fluent assertion extension methods for numeric values.

ObjectAssertExtensions

Provides fluent assertion extension methods for all objects.

StringAssertExtensions

Provides fluent assertion extension methods for strings.

TestClassBase

Base class for XUnit-based test classes.

In this article
Back to top Copyright © www.benday.com | info@benday.com