ANW-20 hurl HTTP contract-test harness

This commit is contained in:
Andreas Brenner 2026-05-14 19:04:03 +02:00
parent ec650e6c66
commit b4a33abd71
50 changed files with 415 additions and 2 deletions

View file

@ -0,0 +1,13 @@
# Trailing slash is a folder listing -- immediate children only.
GET {{host}}/notes/Projects/
HTTP 200
[Asserts]
header "Content-Type" startsWith "application/json"
jsonpath "$.path" == "Projects"
jsonpath "$.entries" count == 4
jsonpath "$.entries[0].name" == "PDR-001-intro.md"
jsonpath "$.entries[0].type" == "file"
jsonpath "$.entries[0].size" > 0
jsonpath "$.entries[1].name" == "PDR-002-followup.md"
jsonpath "$.entries[2].name" == "alpha.md"
jsonpath "$.entries[3].name" == "anwesen.md"