BlogBlogtypeA post on somebody's own site or a community platform. Nobody edits it after publication, so it dates from the day it was written.See every one →SAP Community

CAP full-stack testing with BDD flavour

Introduces Behavior-Driven Development for CAP applications: specifications written in Gherkin against a running app, validated by Cucumber, using cds-cucumber's ready-made step definitions for SAP Fiori elements 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.

Where it sits

Explains
TestingCAPTestingcapabilityProving the service still does what it did — against the model and the handlers, without a deployed system and without a database somebody has to keep clean.cds-cucumberCAPcds-cucumbercds-pluginBehaviour-driven tests for CAP applications: Gherkin scenarios that drive a running service rather than assertions written against handlers.
Source
reachable

Who is behind it

Vladislav LeonkevVladislav LeonkevPersonWrote this
In the atlas: contributes to 12, wrote 1
@vl-leon
author

Properties

About this work

declared and crawled
Published
declared
Published on
declared
Views
crawled
1,844

For testing

on the edge
Applies in
authored
cap

More on this7

Group by
Piece, what it offersStill applies
Also explainingTesting7
How to Restrict CRUD Operations in SAP CAPM Using @Capabilities, @readonly and Test APIs with .http
SAP Community, DeepaRaghoThe reasoningA recipeRunnable code
nothing recorded
Enhancing Unit Testing in SAP CAP Java Applications with GitHub Copilot
SAP Community, Anjali_PathakThe reasoning
nothing recorded
Getting Started with Unit Testing in SAP CAP Java Applications
SAP Community, Anjali_PathakThe reasoningRunnable code
Core changed
Testing your CAP HANA Artifacts with jest – including multitenancy, hdbprocedure and hdbview
SAP Community, TristanThe reasoningA recipeRunnable code
Core changed
CAP: Unit Testing using Mocha and Chai
SAP Community, jhodel18The reasoningRunnable code
Core changed
Integration Tests in a Cloud Foundry Java App using SAP Cloud Application Programming Model
SAP Community, former_member428487The reasoningRunnable code
Core changed
Create Automated System Tests for SAP Cloud Application Programming Model Projects
SAP Developer Center, SAPThe reasoningA recipe
nothing recorded

Details

Graph5 edges
← POINTS HERE
POINTS OUT →
explainsTestingcapability, core and community
explainscds-cucumberartifact
published onSAP Communitypublishing source
discovered viaSAP Communitycap-tag
Source
Type
blog
Published on
Host
community.sap.com
First seen
History2
  • explains → applies_to on capability:testingDoor 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).
  • Entered the atlasDiscovered via SAP Community · cap-tag.
For your agent
Ref
content:cap-full-stack-testing-with-bdd-flavour
JSON
/content/cap-full-stack-testing-with-bdd-flavour.json
MCP
Connecting an agent