Skip to content

Change AG0019 to allow for unit test projects #163

@dicko2

Description

@dicko2

var attributeNode = (AttributeListSyntax)context.Node;

If the target project has "test" in the name then not fail.

We think this is acceptable for some test projects in some scenarios

https://dotnetthoughts.net/dotnet-minimal-api-integration-testing/

Example here, its mandatory to use with minimal API + webapplicationfactory from MVC testing library

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