You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Alessio Di Salvo edited this page Oct 30, 2026
·
2 revisions
Integration Tests (ModularNet.IntegrationTests)
The ModularNet.IntegrationTests project validates real interactions across layers (Business and Infrastructure) against configured external services or test environments.
How Program.cs Works
Configuration: Loads appsettings.json from the ModularNet.IntegrationTests directory along with environment variables and command-line arguments.
Service Registration: Calls the same layer extension methods used by the API (builder.Services.AddInfrastructureServices(configuration) and builder.Services.AddBusinessServices(configuration)).
Firebase Initialization: Initializes FirebaseApp with modularnet-firebase-adminsdk-dev.json.
Test Execution: Resolves real manager services from the DI container and runs the test suites in Tests/: