Skip to content

Problems using NUnit3 TestAdapter. #101

Closed
@basilfx

Description

@basilfx

Using the workaround mentioned in #40, I was able to at least run using the NUnit3 test adapter. However, I still have to blacklist/exclude inserting instrumentation code into the test adapter code, otherwise it cannot find the tests.

Now that 2.0 is available, I can call it like this: dotnet test /p:CollectCoverage=true /p:Exclude=[NUnit3.TestAdapter]*, which lets me run the tests (and after disassembling the DLLs, I see that they have been modified). However, the coverage remains 0%.

I can imagine that Coverlet wants to be test adapter agnostic, but any help/tips/idea's to get it up and running?

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