ardalis/GuardClauses

Analyzers that verify this is used in all public methods

開放

#165 建立於 2021年12月21日

 (3 則留言) (0 個反應) (0 位負責人)C# (292 個分叉)github user discovery
hacktoberfesthelp wanted

倉庫指標

星標
 (3,305 顆星)
PR 合併指標
 (30 天內沒有已合併 PR)

描述

Awesome package. Love it.

We currently employ units tests to verify that guard clauses are used in all public methods, which is done by extending the AutoFixture idiom helper and then searching all packages in the solution.

Testing code quality via unit tests isn't ideal, and it would be nice not to have it as part of our test suite but instead utilize Roslyn, which I assume might be possible. (I might be wrong, though!)

Not sure if this would be too much of a stretch compared to this otherwise light package, but one might name a separate sub-project.

I'll try to work on it myself if I have time one day, but I am currently somewhat busy.

貢獻者指南