Skip to main content

Module testing

Module testing 

Source
Expand description

The aids for tests that DynamicData ships with the library (Cache/Tests, namespace DynamicData.Tests): ChangeSetAggregator<TObject, TKey>, and the aggregators of the sorted, paged, virtual and contextual change sets (TypedChangeSetAggregator).

Structs§

ChangeSetAggregator
Records what a sequence of change sets of a cache produces (ChangeSetAggregator<TObject, TKey>): the change sets, the items they make, their statistics, the error and the end.
GroupChangeSetAggregator
Records what a sequence of change sets of groups produces (GroupChangeSetAggregator<TObject, TKey, TGroupKey>): the change sets, the groups they make, an aggregator of the changes of each group, their statistics, the error and the end.
TypedChangeSetAggregator
Records what a sequence of change sets of a cache of any form produces: the change sets as they are, the items they make, their statistics, the error and the end.

Traits§

GroupChangeSetAggregatorEx
AsAggregator of a sequence of change sets of groups (TestEx.AsAggregator(IObservable<IGroupChangeSet>)).

Type Aliases§

ContextChangeSetAggregator
The aggregator of change sets with a context (ChangeSetAggregator<TObject, TKey, TContext>).
PagedChangeSetAggregator
The aggregator of paged change sets (PagedChangeSetAggregator<TObject, TKey>).
SortedChangeSetAggregator
The aggregator of sorted change sets (SortedChangeSetAggregator<TObject, TKey>).
VirtualChangeSetAggregator
The aggregator of virtual change sets (VirtualChangeSetAggregator<TObject, TKey>).