Ui5 Best Practices Qunit

by UI5a99b882ce364No licenseListed Oct 8, 2026Updated Oct 8, 2026

Use when the user asks to "write a QUnit test", "fix a failing QUnit test", "add a QUnit module", "modernize QUnit tests", "migrate from QUnit 1", or mentions QUnit-specific constructs such as assert.async, nextUIUpdate, Core.applyChanges, sinon sandbox, asyncTest, or QUnit.module. Covers coding standards for OpenUI5/SAPUI5 unit test files: const/let over var, arrow functions over .bind(this), async/await over assert.async(), assert.expect() in every async test, sinon.createSandbox(), descriptive test names, beforeEach/afterEach module isolation, nextUIUpdate vs Core.applyChanges rules, try/finally teardown in helpers, QUnit 1 to QUnit 2 globals migration, and non-ASCII character avoidance.

Instructions onlySoftware Development
  1. a99b882ce364Currentcommit a99b882Published Oct 8, 2026

Source and attribution

Source:UI5/plugins-coding-agentsinplugins/ui5/skills/ui5-best-practices-qunitat commita99b882

License: No license

Content belongs to its original authors. SourceWeft indexes it from a public repository.

Report or request removal