test(acl): BDD acceptance scenario for opening a zaak (closes #5) #49
Reference in New Issue
Block a user
Delete Branch "test/5-acl-bdd-acceptance"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Closes #5
Closes #48
What & why
Completes the ACL slice (S-04) by adding the Gherkin acceptance scenario that drives it (CLAUDE.md §11), introducing Reqnroll as the BDD framework. The ACL code + unit tests + ADR-0003 landed earlier under
refs #5; this PR adds the missing use-case-level acceptance layer and closes the slice.Per the agreed "BDD now, split the rest" scoping (§13), the two heavier S-04 acceptance criteria are split into their own issues rather than batched here:
Changes
tests/acceptance/Reqnroll.xUnit project (PRD §9 layout), added to the solution.EenZaakOpenen.feature— first Gherkin scenario, business language with Dutch domain terms inline; step bindings wired to the existingAclServicewith an in-memory stand-in for the Zaken API.*.feature.cs(Reqnroll-generated) git-ignored.TDD trail
1fba877red — scenario discovered, fails on undefined steps.389d35fgreen — bindings implemented, scenario passes.e9e6269docs — ADR-0004 + nav.Definition of Done
refs #5).make cigreen locally (lint, build, unit, compose-up smoke) while no runner exists (#30).docker compose upreaches green health checks within 3 minutes (smoke step).docs/architecture/(ADR-0004).Notes for reviewers
IZaakGateway, not real OpenZaak — that real-path verification is deliberately #46. The scenario still asserts the full default-fill contract (ADR-0003) and the returned zaak URL.xunit.corebut not the assertion lib, so thexunitmetapackage (2.9.3, matching the repo) is referenced explicitly forAssert.