Skip to content

Integration tests - #141

Merged
AntoMars14 merged 24 commits into
masterfrom
integration-tests
Feb 5, 2026
Merged

Integration tests#141
AntoMars14 merged 24 commits into
masterfrom
integration-tests

Conversation

@AntoMars14

Copy link
Copy Markdown
Collaborator

This pull request introduces a minimal, robust integration testing setup for the backend, focusing on HTTP-level API and database persistence tests. It establishes clear guidelines for integration test scope and structure, adds foundational test infrastructure, and migrates existing tests to NUnit for consistency and maintainability.

Integration test infrastructure and guidelines:

API integration tests:

Database integration tests:

Test framework consistency:

  • ServerTests/NamServer/Endpoints/Auth/AuthLoginTests.cs, ServerTests/NamServer/Endpoints/Auth/RegistrationTests.cs: Migrated existing MSTest-based tests to NUnit, updating attributes and assertions for consistency; removed MSTest parallelization settings. [1] [2] [3] [4] [5]

These changes lay the foundation for reliable backend integration testing, ensuring coverage at the HTTP boundary and database layer, and enforcing consistent test standards across the codebase.

AntoMars14 and others added 24 commits February 5, 2026 15:07
Added documentation for the NAM Backend Integration Test Agent, outlining the scope, requirements, and standards for integration tests.
Co-authored-by: AntoMars14 <155200677+AntoMars14@users.noreply.github.com>
Co-authored-by: AntoMars14 <155200677+AntoMars14@users.noreply.github.com>
…-environment-again

Integration tests - Add persistence coverage for core municipality entities
Co-authored-by: AntoMars14 <155200677+AntoMars14@users.noreply.github.com>
Co-authored-by: AntoMars14 <155200677+AntoMars14@users.noreply.github.com>
Co-authored-by: AntoMars14 <155200677+AntoMars14@users.noreply.github.com>
Co-authored-by: AntoMars14 <155200677+AntoMars14@users.noreply.github.com>
Co-authored-by: AntoMars14 <155200677+AntoMars14@users.noreply.github.com>
Co-authored-by: AntoMars14 <155200677+AntoMars14@users.noreply.github.com>
Co-authored-by: AntoMars14 <155200677+AntoMars14@users.noreply.github.com>
Co-authored-by: AntoMars14 <155200677+AntoMars14@users.noreply.github.com>
Co-authored-by: AntoMars14 <155200677+AntoMars14@users.noreply.github.com>
Co-authored-by: AntoMars14 <155200677+AntoMars14@users.noreply.github.com>
Co-authored-by: AntoMars14 <155200677+AntoMars14@users.noreply.github.com>
Co-authored-by: AntoMars14 <155200677+AntoMars14@users.noreply.github.com>
Co-authored-by: AntoMars14 <155200677+AntoMars14@users.noreply.github.com>
Co-authored-by: AntoMars14 <155200677+AntoMars14@users.noreply.github.com>
Co-authored-by: AntoMars14 <155200677+AntoMars14@users.noreply.github.com>
Co-authored-by: AntoMars14 <155200677+AntoMars14@users.noreply.github.com>
@AntoMars14
AntoMars14 merged commit e0135e2 into master Feb 5, 2026
1 check passed
@AntoMars14
AntoMars14 deleted the integration-tests branch February 5, 2026 23:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants