Table of Contents

Namespace ProjectTemplate.Web.Tests

Classes

AccountControllerCoverageTests
AdvertisedBehaviorTests

Provides integration tests for v1.0 advertised runtime behaviors that consumers rely on.

AntiforgeryTests

Verifies that antiforgery validation is applied globally to unsafe MVC requests.

ApiVersioningServiceExtensionsTests
ApiVersioningTests

Provides integration tests for API versioning configuration and routing.

ApplicationAuditAccountabilityTests
ApplicationAuditCompletionOutboxMigrationTests
ApplicationAuditCompletionOutboxTests
ApplicationAuditIntegrityHealthCheckTests

Provides tests for the audit integrity health check, including reconciliation freshness and endpoint placement.

ApplicationAuditReconciliationMigrationTests
ApplicationAuditReconciliationTests
ApplicationAuditStoreSeamTests
ApplicationAuditValueProtectorTests
ApplicationAuditedTransactionTests
ApplicationDatabaseHealthCheckTests

Provides tests for the application database readiness check.

ApplicationDbContextBranchGapTests
ApplicationDbContextConcurrencyTests
ApplicationDbContextDecimalPrecisionTests
ApplicationDbContextSaveHookBranchCoverageTests
ApplicationDbContextSavePipelineTests
ApplicationDbContextStringCanonicalizationTests
ApplicationDbContextTimestampPersistenceTests
ApplicationMutationManifestPipelineTests
ApplicationMutationManifestTests
ApplicationSaveChangesInterceptorBranchCoverageTests
ApplicationSaveChangesPipelineContextIsolationTests
AuditAndLoggingPrivacyDefaultsTests

Pins the privacy-affecting defaults a generated application starts with.

AuditCompletionContractVectorTests

Regenerates the published audit-completion contract vectors through production NCAT builders, hashers, outbox staging, and dispatch, then requires the committed fixture to match byte for byte.

AuditCoverageGapTests
AuditHostedServiceTests
AuthenticationCookieSecurePolicyTests
AuthenticationProviderIntegrationTests

Provides integration tests for authentication provider registration through the application authentication module.

AuthenticationProviderOptionCoverageTests
AuthenticationTests

Provides integration tests for the application authentication configuration and baseline cookie authentication behavior.

AuthorizationPolicyTests

Provides integration tests for application authorization policy configuration and role/permission policy behavior.

BackgroundServiceRetryDelayTests

Verifies the retry delay applied by the audit background services after consecutive failures.

ClaimsTransformationTests

Provides unit tests for application claims transformation and normalization behavior.

ConfigurationListBindingTests

Provides tests for replace semantics on configured path prefix lists.

DataAccessServiceExtensionsTests

Provides tests for application data access provider configuration.

DataAccessStartupLoggerTests
DataProtectionServiceExtensionsTests
DeprecatedVersionSunsetHeaderTests

Covers the configurable Sunset header advertised for a deprecated API version.

EfCoreDiagnosticsConfigurationTests
EfCoreMigrationCoverageTests
ErrorHandlingPipelineTests

Provides integration tests for the unhandled-exception path through the centralized error-handling pipeline.

ExternalAuthenticationEndpointTests

Provides integration tests for the baseline external authentication endpoints.

ExternalLoginAccountNormalizationTests
ExternalLoginAccountResolverTests

Provides tests for the EF Core external login account-linking resolver.

FallbackAuthorizationPolicyTests

Provides integration coverage for the closed-by-default fallback authorization posture.

ForwardedHeadersExtensionsCoverageTests
ForwardedHeadersTests

Provides tests for forwarded headers configuration and binding behavior.

ForwardedHeadersTrustDiagnosticsTests
HealthCheckTests

Provides integration tests for baseline health check endpoints.

HstsTests

Verifies HTTP Strict Transport Security registration.

HttpContextApplicationAuditContextAccessorTests
HttpContextCurrentActorAccessorTests
InfrastructureDataAccessServiceExtensionsTests
MicrosoftAuthenticationTests

Provides tests for Microsoft external authentication provider registration.

MvcViewLayoutTests

Verifies the complete HTML document shared by controller-rendered views.

OpenTelemetryServiceExtensionsCoverageTests
OpenTelemetryTests

Provides integration and configuration tests for the application OpenTelemetry foundation.

PersistenceStringComparisonNormalizerTests
PersistenceStringPropertyTests

Contains property-based tests for persistence string normalization behavior.

PersistenceTimestampTests
ProblemDetailsExceptionHandlerTests

Provides contract tests for centralized Problem Details exception handling.

ProblemDetailsExtensionsCustomizationTests
RateLimitingTests

Provides integration tests for the application rate limiting configuration and policies.

RepositoryLintTests

Checks that apply to this repository's own sources rather than to generated application behavior.

RequestLoggingExtensionsBranchGapTests
RequestLoggingPrivacyTests

Verifies that diagnostic log entries written outside the request-logging middleware honor the request-logging remote IP address privacy option.

RootEndpointTests
SecurityHeadersTests

Provides integration tests for configurable security header middleware behavior.

StartupSecurityPostureExtensionsTests

Enums

ProblemDetailsExceptionHandlerTests.ProblemDetailsExceptionCase