{"ref":"content:cap-full-stack-testing-with-bdd-flavour","page":"/content/cap-full-stack-testing-with-bdd-flavour","json":"/content/cap-full-stack-testing-with-bdd-flavour.json","generated":"2026-10-26","drafted_with_ai":true,"entity":{"id":"cap-full-stack-testing-with-bdd-flavour","title":"CAP full-stack testing with BDD flavour","url":"https://community.sap.com/t5/technology-blog-posts-by-sap/cap-full-stack-testing-with-bdd-flavour/ba-p/13575035","content_type":"blog","published_on":"source:sap-community","explains":[{"ref":"capability:testing","applies_to":{"ecosystems":["cap"]}},"artifact:cap-js-community-cds-cucumber"],"summary":"Introduces Behavior-Driven Development for CAP applications: specifications written in Gherkin against a running app, validated by Cucumber, using [cds-cucumber](artifact:cap-js-community-cds-cucumber)'s ready-made step definitions for [SAP Fiori elements](capability:fiori-annotations) and OData screens. The library handles service lifecycle — starting the app, assigning a port, driving the browser and authenticating a named user — and its OData steps know the service's entities and fields from the CDS model itself, so a scenario can open a list report, search it and assert row counts without hand-written glue code.","short":"BDD testing of CAP apps with Gherkin and cds-cucumber","published":"2023-10-10","provenance":{"discovered_via":[{"source":"source:sap-community","channel":"cap-tag"}],"first_seen":"2026-09-22"},"drafted_with_ai":true,"authors":["actor:vl-leon"],"history":[{"date":"2026-10-17","field":"explains","from":null,"to":"applies_to on capability:testing","reason":"Door scope derived from the artifacts this piece also explains, so a door page lists it only where it holds (docs/concepts/content-on-doors.md)."}]},"readings":{"liveness":[{"label":"Checked against the source","tier":"unknown","evidence":"nobody has checked it"},{"label":"Source reachable","tier":"unknown","evidence":"not crawled"},{"label":"Age","tier":"poor","evidence":"published 36 months ago"}],"compatibility":[{"label":"Version","tier":"unknown","evidence":"no version declared"},{"label":"Moved since?","tier":"good","evidence":"no recorded change after 2023-10-10"},{"label":"Findings","tier":"good","evidence":"none flagged"}],"reach":[{"value":1844,"unit":"views"},{"value":0,"unit":"comments"},{"value":5,"unit":"likes"}]},"signals":{"views":1844,"likes":5,"comments":0,"metrics_at":"2026-10-25"},"series":null,"edges":{"authors":[{"ref":"actor:vl-leon","name":"Vladislav Leonkev","json":"/actors/vl-leon.json"}]}}