MemberTestingUtils Class

Summary

Contains utilities for testing members of types.
Namespace
Cake.Testing
Base Types
  • object
graph BT Type-->Base0["object"] Type["MemberTestingUtils"] class Type type-node

Syntax

public static class MemberTestingUtils

Methods

Name Value Summary
GetMembersToTest<TMemberInfo>(Type, Func<Type, IEnumerable<TMemberInfo>>, object[]) IEnumerable<MemberTestInfo<TMemberInfo>>
Searches all loaded assemblies for public types assignable to the specified base class type and returns all pairs of desired members and instances with which to test them.
static

Extension Methods

Name Value Summary
ToDictionary() IDictionary<string, object>
Requires the Cake.DeployParams addin
ToStringWithNullMarkup() string
Returns the string value or a Not set> markup suitable for Spectre.Console.
Requires the Cake.Issues addin