Skip to content

Warning xUnit1041 on constructor parameter after upgrading to 2.6.0 #13

@janhruban

Description

@janhruban

After upgrading xUnit versions from 2.4.1 to 2.9.2 and Xunit.Extensions.AssemblyFixture from 2.4.1 to 2.6.0, we are encountering the warning xUnit1041 for the assembly fixture parameter in the constructor (dbSetup):

public class DbUtilsTests : IAssemblyFixture<DbSetup>
{
    private readonly IServiceCollection _services;

    public DbUtilsTests(DbSetup dbSetup, ITestOutputHelper testOutputHelper)
    {
    }
}

Do you have any suggestions on how to resolve this warning?

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