Wiki

Clone wiki

TypeResolver / Type Resolver v2.3.106

Type Resolver v2.3.106

TypeResolver-v2.3.106-release.zip

TypeResolver-v2.3.106-debug.zip

  • Instantiable type discovery
    • Searches for types derived from base type
    • Creates instances using default and parametrized constructors
    • Retrieves instances from Factory classes with GetInstances methods
  • Generic type support
    • Creates instances of generic types
    • Use methods with generic arguments as GenericTheory tests
    • Use IInstanceCreator<> arguments to retrieve instance creators, rather than single instances
    • Is extension method to test for inheritance from regular and open generic interfaces
    • GetDescriptiveName extension method to get readable names of generic types, methods, and arguments
  • xUnit.net extensions
    • InstanceDataAttribute for use with Theory tests
    • GenericTheoryAttribute for calling genetic method tests
    • Updated: MultiMemberDataAttribute to combine multiple MemberData sources for use with Theory tests
    • New: TimeoutFact and TimeoutTheory to allow tests a limited execution window
    • New: StaFact and StaTheory to run tests on an STA thread
    • New: Diagnostic error results for load failures

Requires xUnit.net v2.3

(source)

Updated