๐ oak-testing
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.