Skip to content

No output with TUnit #474

Description

@tacoWanneeJama

Preamble

Where relevant, ensure you are using the current stable versions on your development stack. For example:

  • Visual Studio
  • .Net 10
  • C#

Describe the bug

When I update the Verify.TUnit from version 31.20.0 to a newer version, no target.verified.txt and target.received.txt are generated when I use DiffPlex. If I diasable Verify.DiffPlex the problem doe not occur.
I am usingVerify.DiffPlex 3.3.0.
Everything works fine with Verify.TUnit version 31.20.0

Minimal Repro

<PackageVersion Include="TUnit" Version="1.59.0" />
<PackageVersion Include="Verify.DiffPlex" Version="3.3.0" />
<PackageVersion Include="Verify.TUnit" Version="31.20.0" />

    [ModuleInitializer]
    public static void Initialize()
    {
        _verifySettings.UseUniqueDirectory();
        if (!VerifyDiffPlex.Initialized)
            VerifyDiffPlex.Initialize(VerifyTests.DiffPlex.OutputType.Compact);
        Verifier.UseSourceFileRelativeDirectory("Snapshots");
    }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions