oak-testing 0.0.8

Testing utilities for the Oak language toolchain.
Documentation

๐Ÿš€ oak-testing

Crates.io Documentation

Testing Utilities for Oak Parsers โ€” Helpers and macros for testing Oak language implementations.

๐ŸŽฏ Why oak-testing?

Testing parsers requires specialized utilities for comparing syntax trees, checking error recovery, and validating incremental parsing. oak-testing provides these tools for straightforward and maintainable test writing.

โœจ Key Features

  • ๐Ÿงช Parse Testing โ€” Helpers for parsing and validating syntax trees
  • ๐Ÿ“Š Snapshot Testing โ€” Compare parsed output against expected snapshots
  • ๐Ÿ” Error Checking โ€” Validate error recovery and diagnostic output
  • โšก Incremental Testing โ€” Test incremental parsing behavior
  • ๐Ÿ“ Macro Support โ€” Convenient macros for common test patterns

๐Ÿ—๏ธ Architecture

  • Parse assertion macros
  • Snapshot testing utilities
  • Error validation helpers

๐Ÿ”— Ecosystem Integration

Used by all Oak language parsers for unit tests, integration tests for LSP features, and CI pipelines.

๐Ÿ“– Documentation

For usage examples and API details, see the API documentation.

๐Ÿค Contributing

Contributions are welcome! Please feel free to submit a Pull Request.