NetArchTest is a .Net Standard 2.0 library that provides a fluent API to enforce architectural rules in unit tests. You can create tests that enforce conventions for class design, naming and dependency in .Net code bases, and use them with any unit test framework to incorporate into a build pipeline. The project uses a fluid API that allows you to string together readable rules that can be used in test assertions. The fluent API directs you in building up a rule based on a combination of predicates, conditions, and conjunctions. The library is inspired by the ArchUnit library for Java, and is a self-testing architecture that aims to preserve architectural design patterns in code bases over the long term. The examples provided demonstrate how to use the fluent API, and the library can be obtained from NuGet. NetArchTest is compatible with .Net Framework 4.6.1 or better and .Net Core 2.0 or better.