Skip to content

How can i specify the reflection engine mode for VS Test Explorer? #3026

@AdmiralSnyder

Description

@AdmiralSnyder

I'm trying to convert a bUnit test project from xUnit to TUnit.

since bUnit allows for expressing unit tests in razor components which are then source generated at compile time to .cs files, TUnit cannot see those, and the tests don't show up in VS solution explorer.
i'd like to configure the test project to emit reflection-friendly info so the tests do show up - how would i do that?

The tests do show up when i do dotnet test -- --reflection - so how do i do it inside VS?

thanks a lot :-)

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