Add integration test infrastructure

- Create backend integration test project with xUnit
- Add required packages: TestHost, Mvc.Testing, EF InMemory, FluentAssertions
- Add project reference to backend API
- Create IntegrationTestBase class with WebApplicationFactory setup
- Install Supertest for HTTP integration testing
This commit is contained in:
Denis Urs Rudolph
2026-04-08 20:23:48 +02:00
parent d3ec22aa99
commit 3421818d41
17 changed files with 4916 additions and 0 deletions
@@ -0,0 +1,22 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
using System;
using System.Reflection;
[assembly: System.Reflection.AssemblyCompanyAttribute("backend.Tests.Integration")]
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+d3ec22aa99708887598cc6e0dad1ae530bc4505c")]
[assembly: System.Reflection.AssemblyProductAttribute("backend.Tests.Integration")]
[assembly: System.Reflection.AssemblyTitleAttribute("backend.Tests.Integration")]
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
// Von der MSBuild WriteCodeFragment-Klasse generiert.