agoda-com / agoda-com/AgodaAnalyzers

Change AG0019 to allow for unit test projects

Open
#163 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
25
Forks
15
PR merge metrics
No merged PRs in 30d

Description

https://github.com/agoda-com/AgodaAnalyzers/blob/67253b560c83f90b3f1a636ba7687af49c773458/src/Agoda.Analyzers/AgodaCustom/AG0019PreventUseOfInternalsVisibleToAttribute.cs#L41

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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.