Paul Schneider
a265832282
tests: add SmokeTestBase helper for HTTP smoke assertions
...
Smoke tests for the Jalon 0 'Tests d'integration smoke par BC'
item need a small helper to:
- issue a GET on an in-memory test server (HttpClient built by
TestWebApplicationFactory<Program>);
- assert that the response is 2xx (page served), 3xx (redirect
to login) or 401/403 (anonymous rejected). Anything else —
404 route missing, 5xx server crash, connection refused —
fails the test.
This commit only introduces the base class. Subsequent commits
add the per-BC smoke tests (Account, Blog, etc.).
2026-06-27 20:52:08 +01:00
..
Controllers
test(client): accept 200 OK for AddRedirectUri_POST
2026-06-21 21:54:25 +01:00
Fakes
Introduce Yavsc.Interfaces.ISmtpClient and a recording test fake
2026-06-22 02:09:02 +01:00
Mandatory
refactoring
2026-06-19 19:59:15 +01:00
NonRegression
code cleanup
2026-06-25 23:55:52 +01:00
Resources
Relocate test project: test/yavscTests -> src/Yavsc.Org.Tests
2026-06-19 17:52:54 +01:00
Smoke
tests: add SmokeTestBase helper for HTTP smoke assertions
2026-06-27 20:52:08 +01:00
appsettings.json
Relocate test project: test/yavscTests -> src/Yavsc.Org.Tests
2026-06-19 17:52:54 +01:00
Directory.Packages.props
fix(client-controller): single constructor with IHtmlLocalizer
2026-06-21 21:14:20 +01:00
DumpHtml.cs
refactoring
2026-06-19 19:59:15 +01:00
StaticAssetsPathsTests.cs
fix(client-controller): single constructor with IHtmlLocalizer
2026-06-21 21:14:20 +01:00
test.runsettings
fix(client-controller): single constructor with IHtmlLocalizer
2026-06-21 21:14:20 +01:00
TestAuthPolicyProvider.cs
fix(client-controller): single constructor with IHtmlLocalizer
2026-06-21 21:14:20 +01:00
TestUserMiddleware.cs
test(client): refactor InjectTestUser as a real IMiddleware
2026-06-21 21:24:44 +01:00
TestUserStartupFilter.cs
test(client): refactor InjectTestUser as a real IMiddleware
2026-06-21 21:24:44 +01:00
TestWebApplicationFactory.cs
test(client): refactor InjectTestUser as a real IMiddleware
2026-06-21 21:24:44 +01:00
WebServerFixture.cs
Introduce Yavsc.Interfaces.ISmtpClient and a recording test fake
2026-06-22 02:09:02 +01:00
xunit.runner.json
Relocate test project: test/yavscTests -> src/Yavsc.Org.Tests
2026-06-19 17:52:54 +01:00
Yavsc.Org.Tests.csproj
test(client): accept 200 OK for AddRedirectUri_POST
2026-06-21 21:54:25 +01:00