From 76109ad26574f8486f1c9583e37220ca0b058cca Mon Sep 17 00:00:00 2001 From: John Cardinal Date: Mon, 23 Feb 2026 16:40:50 -0800 Subject: [PATCH] 4648 --- .gitignore | 2 ++ claude.md | 33 +++++++++++++++++++++++++++++++++ raven-test-integration.sln | 24 ++++++++++++++++++++++++ util.cs | 4 ++-- 4 files changed, 61 insertions(+), 2 deletions(-) create mode 100644 .gitignore create mode 100644 claude.md create mode 100644 raven-test-integration.sln diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..4c7473d --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +/bin +/obj diff --git a/claude.md b/claude.md new file mode 100644 index 0000000..b7598d7 --- /dev/null +++ b/claude.md @@ -0,0 +1,33 @@ +# 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 diff --git a/raven-test-integration.sln b/raven-test-integration.sln new file mode 100644 index 0000000..39c7a66 --- /dev/null +++ b/raven-test-integration.sln @@ -0,0 +1,24 @@ +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.5.2.0 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "raven-integration", "raven-integration.csproj", "{7BC52D80-5CAC-C646-60DA-D9BC115778A5}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {7BC52D80-5CAC-C646-60DA-D9BC115778A5}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {7BC52D80-5CAC-C646-60DA-D9BC115778A5}.Debug|Any CPU.Build.0 = Debug|Any CPU + {7BC52D80-5CAC-C646-60DA-D9BC115778A5}.Release|Any CPU.ActiveCfg = Release|Any CPU + {7BC52D80-5CAC-C646-60DA-D9BC115778A5}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {09997A7B-1DA2-4380-AF1C-CFF2D18ABFE1} + EndGlobalSection +EndGlobal diff --git a/util.cs b/util.cs index 0c36797..1c60722 100644 --- a/util.cs +++ b/util.cs @@ -28,8 +28,8 @@ namespace raven_integration public static class Util { //####################################################################################################### - public static string API_BASE_URL = "http://localhost:7575/api/v8/"; - // public static string API_BASE_URL = "https://test.helloayanova.com/api/v8.0/"; + //public static string API_BASE_URL = "http://localhost:7575/api/v8/"; + public static string API_BASE_URL = "https://devtest.ayanova.com/api/v8.0/"; public static string TEST_DATA_FOLDER = @"..\..\..\testdata\"; //#######################################################################################################