4648
This commit is contained in:
2
.gitignore
vendored
Normal file
2
.gitignore
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
/bin
|
||||
/obj
|
||||
33
claude.md
Normal file
33
claude.md
Normal file
@@ -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
|
||||
24
raven-test-integration.sln
Normal file
24
raven-test-integration.sln
Normal file
@@ -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
|
||||
4
util.cs
4
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\";
|
||||
//#######################################################################################################
|
||||
|
||||
Reference in New Issue
Block a user