Ui5 Best Practices Qunit

作者 UI5a99b882ce364無授權條款38 個星標收錄於 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 從公開儲存庫中收錄這些內容。

檢舉或申請下架