Skip to content

Commit

Permalink
Update launcher.xq
Browse files Browse the repository at this point in the history
  • Loading branch information
Lucaterre authored Mar 12, 2024
1 parent 379e8ea commit 1d0a8fe
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions tests/launcher.xq
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import module namespace test = "https://github.com/chartes/dots/tests" at "utils
import module namespace initTests = "https://github.com/chartes/dots/initTests" at "initTestsEndpoint.xqm";

(: Deploiment Tests :)
"\t> Starting deploiment tests in progress...",
"> Starting deploiment tests in progress...",

(:
Check data in database
Expand All @@ -16,19 +16,23 @@ return :

(: ... :)

"\t> ✅ deploiment tests checked",
"> ✅ deploiment tests checked",

(: Backend Tests :)
"\t> Starting backend tests in progress...",
"> Starting backend tests in progress...",

(: ... :)

"> ✅ backend tests checked",

(: API Tests :)
"Starting API tests in progress...",
"> Starting API tests in progress...",

(: Lance les tests pour vérifier que la base du résolveur DTS est opérationnelle :)
initTests:check-value-response200("http://localhost:8080/api/dts"), (: le entrypoint doit renvoyer une réponse 200 :)
initTests:check-value-response200("http://localhost:8080/api/dts/collection") (: le endpoint collection doit renvoyer une réponse 200 :)

(: TODO : create tests for 400 in the future :)

"> ✅ API tests checked",

0 comments on commit 1d0a8fe

Please sign in to comment.