diff --git a/CLAUDE.md b/CLAUDE.md index b493540..a7f484c 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -62,12 +62,18 @@ The gateway lives in a sibling repo at `c:\Users\dohertj2\Desktop\mxaccessgw\`. ```bash dotnet restore ZB.MOM.WW.OtOpcUa.slnx dotnet build ZB.MOM.WW.OtOpcUa.slnx -dotnet test ZB.MOM.WW.OtOpcUa.slnx # all tests -dotnet test tests/ZB.MOM.WW.OtOpcUa.Tests # unit tests only -dotnet test tests/ZB.MOM.WW.OtOpcUa.IntegrationTests # integration tests only -dotnet test --filter "FullyQualifiedName~MyTestClass.MyMethod" # single test +dotnet test ZB.MOM.WW.OtOpcUa.slnx # all tests +dotnet test tests/Core/ZB.MOM.WW.OtOpcUa.Core.Tests # a single test project +dotnet test --filter "FullyQualifiedName~MyTestClass.MyMethod" # a single test ``` +Test projects live under `tests//` (Core, Server, Drivers, +Drivers/Cli, Client, Tooling) — there is no single unit-test project. +Unit suites are named `*.Tests`; integration suites are `*.IntegrationTests` +and need their Docker fixture up (see Docker Workflow). DB-backed tests in +`*.Configuration.Tests`, `*.Admin.Tests`, and `*.Server.Tests` require the +central SQL Server. + ## Docker Workflow (driver fixtures + central SQL Server) > **Migrated 2026-04-28**: Docker config + host moved off this dev VM (DESKTOP-6JL3KKO) onto the shared Linux Docker host (`DOCKER`, 10.100.0.35) so the dev VM could shed WSL2/Hyper-V and have its GPU re-attached via ESXi passthrough. Docker Desktop is no longer installed here. All checked-in `appsettings.json` defaults, fixture-class default endpoints, and `e2e-config.sample.json` were rewritten to target `10.100.0.35`. The driver fixture compose files under `tests/.../Docker/docker-compose.yml` now carry a `project: lmxopcua` label on every service. See `docs/v2/dev-environment.md` for the full rewrite (header dated 2026-04-28).