Skip to main content

Crate oak_testing

Crate oak_testing 

Source
Expand description

Testing utilities for the Oak ecosystem.

This module provides comprehensive testing infrastructure for lexers, parsers, and builders, including file-based testing, expected output comparison, timeout handling, and test result serialization.

Modules§

building
Builder testing utilities for the Oak ecosystem.
lexing
Lexer testing utilities for the Oak ecosystem.
parsing
Parser testing utilities for the Oak ecosystem.

Functions§

create_file
Creates a file and its parent directories.
json_from_path
Reads JSON data from a file path.
open_file
Opens a file and returns a file handle.
source_from_path
Reads source text from a file path.