From 25504a8a852e0792ec4b117c7669e2090b50031e Mon Sep 17 00:00:00 2001 From: James Wampler Date: Sat, 4 Jul 2026 17:55:34 -0700 Subject: [PATCH] Claude.md tweaks --- CLAUDE.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CLAUDE.md b/CLAUDE.md index a269aa7..1cfdd58 100755 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -27,12 +27,13 @@ MicCheck: open source. asp.net, c#, typescript, VueJS. Manages feature flags, pr - Wrap lines at 220 characters, leave single line if fewer - Place interfaces that are implemented by a single class at the bottom of the class file. An interface with multiple implementations of an interface should be in a seperate file. - Do not use tuples for return types. Prefer records or classes for multiple values -- Do not use `sealed` on classes- +- Do not use `sealed` - Use `record` for data objects, `class` for objects with behavior. Avoid mutable state where possible. ## Testing - BDD-style unit tests, end-to-end as possible, no external resources (DB, filesystem). e.g. `WhenAUserDoesSomething_ThenAThingAppears` - Mock external deps with Moq +- Mock EntityFramework DBContexts with an extracted interface and Moq. Do not rely on InMemory provider. - New features need unit tests covering as much logic as possible - Any modified file: evaluate for missing test coverage- - No "Mock" in mocked object names