Ui5 Best Practices Qunit

作者 UI5a99b882ce364无许可证收录于 2026年10月8日更新于 2026年10月8日

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.

仅公开文件列表。将技能安装到工作区后即可查看文件内容。

路径大小类型
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

来源与署名

来源:UI5/plugins-coding-agents位于plugins/ui5/skills/ui5-best-practices-qunit提交a99b882

许可证: 无许可证

内容归原作者所有。SourceWeft 从公开仓库中收录这些内容。

举报或申请下架