Sounio Lang Sounio Sounio Tests Suite

Sounio Tests Suite

tomevault-io Updated

File contents

Sounio Tests Suite

Overview

Write minimal, high-signal tests that protect language semantics, diagnostics, and regressions.

Workflow

1) Choose the right test bucket

  • tests/run-pass/: should compile and run
  • tests/compile-fail/: should fail to compile
  • tests/ui/: diagnostics/error message matching via //@ error-pattern:
  • compiler/tests/: Rust integration tests for compiler subsystems

2) Keep tests small and explicit

  • Avoid relying on features listed as missing in compiler/docs/KNOWN_LIMITATIONS.md.
  • Prefer one behavior per test file; add //@ ignore if it’s documenting an aspirational feature.

3) Run the narrowest validation first

  • If you changed Rust compiler code: cd compiler && cargo test <name>
  • If you changed language behavior: run the smallest relevant test subset first

References

  • Test annotations and patterns: references/test-annotations.md

Converted and distributed by TomeVault — claim your Tome and manage your conversions.

tomevault-io/skills-registry/tree/main/sounio-lang--sounio--sounio-tests-suite commit 546f80cd43

Frequently asked questions

npx skillmds@latest add tomevault-io/sounio-lang-sounio-sounio-tests-suite