{"ref":"content:how-to-use-latest-qunit-and-sinon-to-test-your-sapui5-applications","page":"/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","generated":"2026-11-15","drafted_with_ai":true,"entity":{"id":"how-to-use-latest-qunit-and-sinon-to-test-your-sapui5-applications","title":"How to use latest QUnit and sinon to test your SAPUI5 applications","url":"https://community.sap.com/t5/technology-blog-posts-by-sap/how-to-use-latest-qunit-and-sinon-to-test-your-sapui5-applications/ba-p/14156476","content_type":"blog","published_on":"source:sap-community","explains":["capability:testing"],"summary":"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](artifact:ui5-community-generator-easy-ui5), adding sinon and qunit as devDependencies, and wiring [ui5-tooling-modules](artifact:ui5-community-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.","author":"ansgar_lichter","published":"2025-08-19","provenance":{"discovered_via":[{"source":"source:sap-community","channel":"sapui5-tag"}],"first_seen":"2026-11-07"},"drafted_with_ai":true},"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":"fair","evidence":"published 15 months ago"}],"compatibility":[{"label":"Version","tier":"unknown","evidence":"no version declared"},{"label":"Moved since?","tier":"good","evidence":"no recorded change after 2025-08-19"},{"label":"Findings","tier":"good","evidence":"none flagged"}],"reach":[{"value":null,"unit":"views"},{"value":null,"unit":"comments"},{"value":null,"unit":"likes"}]},"signals":null,"series":null,"edges":{"authors":[]}}