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

How to use latest QUnit and sinon to test your SAPUI5 applications

SAPUI5 ships QUnit and sinon from its own CDN, pinned to old versions (sinon v4, over seven years old) with no plan to update, so the post walks through pulling in current versions instead: generating a TypeScript app with generator-easy-ui5, adding sinon and qunit as devDependencies, and wiring ui5-tooling-modules so the framework's module loader resolves them from node_modules rather than the bundled thirdparty path. It covers both the test starter setup for UI5 >= 1.124 and the traditional test suite/test page setup for older versions, down to the loader map override and a sample QUnit test stubbing a controller with sinon v21.

Where it sits

Explains
TestingTestingcapabilityProving 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.

Who is behind it

ansgar_lichterauthor

Properties

About this work

declared and crawled
Published
declared
Published on
declared

More on this12

Group by12 of 12 pieces
Piece, what it offersStill applies
Also explainingTesting12
How to Restrict CRUD Operations in SAP CAPM Using @Capabilities, @readonly and Test APIs with .http
SAP Community, DeepaRaghoThe reasoningA recipeRunnable code
nothing recorded
New tutorial for UI5 Middleware FE Mockserver
SAP Community, Marian Zeis
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
Simplifying SAP BTP Authentication in Pipelines with SAP Passport and Playwright
SAP Community, Marian ZeisThe reasoningRunnable code
nothing recorded
CAP full-stack testing with BDD flavour
SAP Community, Vladislav Leonkev
nothing recorded
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
Using Postman for API Testing with XSUAA
SAP Community, mariusobertThe reasoningRunnable code
nothing recorded
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
Accelerating SAP solution transformations with the agent-led toolchain
SAP TechEd — session catalogueThe reasoning
nothing recorded

Details

Graph3 edges
POINTS OUT →
explainsTestingcapability, core and community
published onSAP Communitypublishing source
discovered viaSAP Communitysapui5-tag
Source
Type
blog
Published on
Host
community.sap.com
First seen
History1
  • Entered the atlasDiscovered via SAP Community · sapui5-tag.
For your agent
Ref
content:how-to-use-latest-qunit-and-sinon-to-test-your-sapui5-applications
JSON
/content/how-to-use-latest-qunit-and-sinon-to-test-your-sapui5-applications.json
MCP
Connecting an agent