Тестирование MPS-моделей и редактора

★ 7.9 · testing

mps-tests is a Claude Code skill that serves as a reference for writing and modifying tests inside MPS models carrying the `@tests` stereotype. It covers four test-case types: `NodesTestCase` (typesystem, constraints, scopes, dataflow, generator output), `EditorTestCase` (intentions, actions, keystrokes, side-transforms, completion), `MigrationTestCase` (migration scripts), and `BTestCase` (plain JUnit against hand-written Java/Kotlin runtime code). The skill documents inline annotations such as `has error`, `has type`, and `ScopesTest`, label-based `node<label>` cross-references, caret markers, and running tests via MCP or directly in MPS. Reach for this skill whenever the task involves authoring or fixing tests in a `tests`-facet Solution, or interpreting failures from one.