CAP Node.js Application Testing with cds-test and Jest
Tutorials that teach this
Prerequisites
- Concept Full-Stack Application Development with CAP and SAP Fiori Elements
- Concept CDS-based Authorization Annotations in CAP
- Concept CAP Node.js Application Development
- Concept CAP Authorization with CDS CAP Authorization with CDS is a mechanism in the SAP Cloud Application Programming Model (CAP) that allows developers to declaratively define access control rules directly within [CDS models](https://help.sap.com/docs/btp/sap-business-technology-platform/e4a7559baf9f4e4394302442745edcd9?locale=en-US&state=PRODUCTION&version=Cloud). Developers use it to restrict which users or roles can read, write, or invoke specific entities and services, keeping authorization logic close to the data model definition. Following best practices, these annotations help produce concise and comprehensible models that enforce security without scattering access control logic across application code.
- Concept Exposing Entities via OData V4 in CAP Services