ArchUnitNET icon indicating copy to clipboard operation
ArchUnitNET copied to clipboard

A C# architecture test library to specify and assert architecture rules in C# for automated testing.

Results 78 ArchUnitNET issues
Sort by recently updated
recently updated
newest added

[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](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` | ---...

[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](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` | |...

[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](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

[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](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` | [![age](https://developer.mend.io/api/mc/badges/age/nuget/csharpier/0.28.2?slim=true)](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",...

kind/support
triage/accepted

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...

kind/support