From 2d90c445f03559bda93802f874e4dd2364b3a61f Mon Sep 17 00:00:00 2001 From: James Wampler Date: Thu, 2 Jul 2026 12:39:40 -0700 Subject: [PATCH] Update CLAUDE.md test/docs guidance Clarify test coverage requirements to cover both NUnit and Jest and require all tests pass before commit; move plan docs under docs/plans/. --- CLAUDE.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/CLAUDE.md b/CLAUDE.md index eb52472..a269aa7 100755 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -18,8 +18,8 @@ MicCheck: open source. asp.net, c#, typescript, VueJS. Manages feature flags, pr - Use latest LTS .NET + latest supported nuget packages for that version - Set `langVersion` to latest in all csproj files; enable nullable - Organize code by feature/area, not type (e.g. `features` namespace) -- New features need unit tests covering as much logic as possible -- Any modified file: evaluate for missing test coverage +- New features need unit tests covering as much logic as possible (both nunit and jest) +- Any modified file: evaluate for missing test coverage and that all tests pass # Coding - Descriptive names for all classes/methods. No generic names: Provider, Manager, Helper @@ -37,13 +37,13 @@ MicCheck: open source. asp.net, c#, typescript, VueJS. Manages feature flags, pr - Any modified file: evaluate for missing test coverage- - No "Mock" in mocked object names - No Arrange/Act/Assert comments +- All tests should pass before commit ## Claude -- Plans = `.md` files in `docs/`. Admin → `docs/admin/`, API → `docs/api/` +- Plans = `.md` files in `docs/plans/`. Admin → `docs/plans/admin/`, API → `docs/plans/api/` - Split large plans into discrete chunks — each buildable + committable independently -- Plan generated from `docs/.md` → save as `docs/_plan.md` -- Plan implemented from `docs/.md` → save summary as `docs/_output.md` +- Plan generated from `docs/plans/.md` → save as `docs/plans/_plan.md` +- Plan implemented from `docs/plans/.md` → save summary as `docs/plans/_output.md` ## Stack - -`.gitignore` configured for .NET/Visual Studio (C#, NuGet, MSBuild). Update if stack changes. \ No newline at end of file +`.gitignore` configured for .NET/Visual Studio (C#, NuGet, MSBuild). Update if stack changes.