Тестирование компилятора HashQL

testing

testing-hashql is a Claude Code skill that covers HashQL compiler testing strategies: compiletest for UI tests, insta snapshot tests, and standard Rust unit tests. Compiletest is the default approach, using J-Expr files with `//@` directives and `//~` annotations to assert expected diagnostics; running with `--bless` updates expected outputs automatically. The skill provides a decision table mapping each scenario — diagnostics, compiler pipeline phases, MIR/HIR/AST edge cases, parser fragments, internal logic — to the correct test type and file location. It is most useful when writing or debugging HashQL tests, working with `cargo insta review`, or deciding between compiletest, insta snapshots in `tests/ui/<category>/`, and `#[cfg(test)]` modules in source files.