agoda-com / agoda-com/AgodaAnalyzers

Change AG0019 to allow for unit test projects

Aperta
#163 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
C#
Stelle
25
Fork
15
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.