Skip to content

xUnit TheoryData class equivalent #3272

@silkfire

Description

@silkfire

Is there any equivalent to strongly typed TheoryData<> classes in TUnit? This simplifies storing reusable data (IEnumerable<>) across test projects.

Note that I'm not asking about methods that return TheoryData but custom classes that inherit from it.

https://andrewlock.net/creating-strongly-typed-xunit-theory-test-data-with-theorydata/#strongly-typed-data-with-theorydata

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions