Skip to content

Release for update that has ExcludeAssembliesWithoutSources? #1422

Closed
@jolexxa

Description

TL;DR: new release please?

I've been using coverlet with Godot (open source game engine with C# support). Coverlet is a wonderful tool and I'm very grateful for it.

Since Godot is a game engine, it's non-trivial to write a dotnet test adapter for it given the scarcity of detailed documentation on how to do that (at least for most of us mortals). Instead, I use a bit of custom code to run "tests" (normal C# classes with custom attributes) inside it and coverlet just monitors the entire process. That was working great in Godot 3, which used mono.

Godot 4 actually integrates .NET 6 support directly, without the need for mono, using source generators and dynamic assembly loading, etc. Unfortunately, the latest release on coverlet does not work with it.

I have confirmed that the latest changes introduced on main from #1392 which introduce ExcludeAssembliesWithoutSources allow coverlet to successfully collect code coverage for the Godot 4 process. I built it myself locally and used the build to verify.

The readme for the simple "test" harness I use contains more info about how coverlet is being used with Godot, if anyone finds that info useful.

All this to say: can we get an official release of the latest changes? It's been very helpful to me!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    SolvedThe issue is solved and can be closedquestionThis issue is a question

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions