Skip to main content

eventrunner-testing

星标2
分支1
更新时间2026年5月28日 09:22

How to write and run tests for EventScript/EventRunner — parser tests, expression eval tests, and full integration tests. Covers the three test tiers, the builtin-availability problem (setupFuns), how to use ER.compileAST vs er.eval, and common pitfalls. USE FOR: writing new tests, diagnosing "Undefined variable" for builtins, choosing the right test tier, understanding what's a valid EventScript statement vs expression.

安装

用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。

SKILL.md
readonly