Skip to content

test(ktor): server integration tests for controller registration and responses - #7

Merged
Ziedelth merged 3 commits into
masterfrom
test/ktor-controller
Aug 7, 2026
Merged

test(ktor): server integration tests for controller registration and responses#7
Ziedelth merged 3 commits into
masterfrom
test/ktor-controller

Conversation

@Ziedelth

@Ziedelth Ziedelth commented Aug 7, 2026

Copy link
Copy Markdown
Contributor

Ajoute des tests d'intégration serveur (ktor-server-test-host) :

  • enregistrement de controllers via ControllerBinder.register (interface IController) ;
  • ResponseEntity.ok/created/badRequest/notFound/conflict/internalServerError ;
  • réponse brute sérialisée, MessageDto.error (500 inattendu / 400 validation) ;
  • cas non enregistrés → 404.
    \n./gradlew :ktor:test ✅ (voir guideline TESTING §6).

@Ziedelth
Ziedelth merged commit acca9e7 into master Aug 7, 2026
2 checks passed
@Ziedelth
Ziedelth deleted the test/ktor-controller branch August 7, 2026 16:33
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.

1 participant