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

Only the file list is public. File contents are available once the skill is installed in a workspace.

PathSizeType
references/async-patterns.md7.6 KBtext/markdown
references/modernizing-tests.md9.7 KBtext/markdown
references/writing-new-tests.md5.9 KBtext/markdown
SKILL.md4 KBtext/markdown

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