Files
raven-test-integration/claude.md
2026-02-23 16:40:50 -08:00

1.5 KiB

Integration Test Project Context

What This Is

Old integration test project for the AyaNova v8 API. These tests were written during initial API development and have not been maintained. They target .NET Core 3.x and need evaluation before any further use.

Current Goal

Triage these tests to determine what is salvageable:

  1. Get the project compiling against .NET 8 (update TargetFramework, NuGet packages)
  2. Inventory all test files and what they cover
  3. Identify tests that still match current API endpoints and behavior
  4. Decide per-test: fix it, rewrite it, or delete it
  5. Broken tests that aren't worth fixing should be deleted — broken tests are worse than no tests

The Current Backend

The production API these tests should validate lives at ../raven/server/AyaNova/ and runs ASP.NET Core 8 with PostgreSQL. Compare test expectations against the actual current API, not what the API looked like when these tests were written.

Known Issues

  • dotnet test fails because multiple .csproj/.sln files exist — specify the correct one
  • Project targets outdated .NET Core 3.x — needs TargetFramework update to net8.0
  • NuGet package references are likely outdated and may need updating
  • Test data setup and API endpoints may have changed significantly

What Success Looks Like

  • A clear inventory of what tests exist and what they cover
  • Any salvageable tests updated to compile and run against .NET 8
  • Dead or irrelevant tests removed
  • A gap analysis: what critical API paths have no test coverage