agoda-com / agoda-com/AgodaAnalyzers

Change AG0019 to allow for unit test projects

未关闭
#163 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
C#
星标
25
派生
15
PR 合并指标
30 天内没有已合并 PR

描述

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

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。