ArchUnitNET
ArchUnitNET copied to clipboard
A C# architecture test library to specify and assert architecture rules in C# for automated testing.
[](https://renovatebot.com) This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [actions/checkout](https://togithub.com/actions/checkout) | action | patch | `v4.1.1` -> `v4.1.6` | ---...
[](https://renovatebot.com) This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [dotnet-sdk](https://togithub.com/dotnet/sdk) | action | patch | `8.0.204` -> `8.0.300` | |...
[](https://renovatebot.com) This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [github/codeql-action](https://togithub.com/github/codeql-action) | action | minor | `v3.24.10` -> `v3.25.5` | ---...
Identifies if a class is a record if it has a methode named "$" inspired from this post: [stackoverflow](https://stackoverflow.com/questions/64809750/how-to-check-if-type-is-a-record)
This PR enabled generation of documentation file and adds extra information about `ResideInAssembly` method giving context how the method should be used. Closes #245
[](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [csharpier](https://togithub.com/belav/csharpier) | `0.28.0` -> `0.28.2` | [](https://docs.renovatebot.com/merge-confidence/)...
I have a test where I check if I have abstract classes if so then I want it to check if the suffix is Base. But when I run the...
When I do: `HaveAnyAttributes(....) ` It always require me to have the first attribute set. but when I also add a list of other attributes it force me to have...
Hello, Here's a test to check that my usecase class has only authorized dependencies ``` private readonly IObjectProvider UseCaseInterfaces = Classes().That().HaveNameEndingWith("UseCase"); [Fact] public void UseCasesNotHaveAnyDependenciesExceptCore() { string[] whitelistDependenciesRegex = ["^System",...
I'm trying to understand how to avoid calling a method like "System.String.Substring()" with ArchUnitNET. First I have a simple library Lib with static method: ``` namespace Lib { public static...