TNG / ArchUnitNET

A C# architecture test library to specify and assert architecture rules in C# for automated testing.
Apache License 2.0
826 stars 55 forks source link

Issue: #269 Least effort implementation of a clearable Architecture cache #270

Closed thojaw closed 2 weeks ago

thojaw commented 3 weeks ago

This is a least effort implementation of a clearable Architecture cache. This will allow calls to ArchitectureCache.Instance.Clear() from external sources in scenarios where a uniqueness of the ArchitectureCacheKey during the runtime of the consuming app cannot be guaranteed and thus, the Cache needs to be cleared between executions of the ArchBuilder resp. `ArchLoader´.

codecov-commenter commented 2 weeks ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 56.70%. Comparing base (fabf95b) to head (b5f9cc1).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #270 +/- ## ======================================= Coverage 56.70% 56.70% ======================================= Files 254 254 Lines 22841 22842 +1 Branches 1938 1938 ======================================= + Hits 12952 12953 +1 Misses 9334 9334 Partials 555 555 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.