Skip to content

Custom engine extensions are no longer loaded from user workspace via *.addins file #1819

@nvborisenko

Description

@nvborisenko

Using NUnit3TestAdapter v5.2.0:

dotnet new nunit
dotnet add package ReportPortal.NUnit
dotnet test

Output:

/home/runner/work/agent-net-nunit/agent-net-nunit/src/ReportPortal.NUnitExtension/ReportPortalListener.cs(58): error TESTERROR: 
      /Users/Mikalai_Barysenka/Projects/Temp/NUnitTest6/bin/Debug/net8.0/NUnitTest6.dll (< 1ms): Error Message: System.Collections.Generic.KeyNotFoundException
      : Property 'Server:Url' not found in the configuration. Make sure you have configured it properly.

It is OK, indicates that custom extension is loaded. Here ReportPortal.NUnit is custom extension. This package adds ReportPortal.addins file in bin\Debug directory to be picked up by engine extension loader.

Now if we upgrade NUnit3TestAdapter to v6.1.0, then extension is not picked up.

Test summary: total: 1, failed: 0, succeeded: 1, skipped: 0, duration: 2,7s

Most likely the behaviour has been changed in scope of #488

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