dejavu icon indicating copy to clipboard operation
dejavu copied to clipboard

Split up `gml/tests/interpreter.rs`

Open rpjohnst opened this issue 4 years ago • 0 comments

Currently, all the GML tests are in a single file, implemented as #[test] functions. This makes them annoying to read, and leads to large and repetitive diffs when the API for running GML changes.

Compiler test suites often work with a single test per file, with test metadata in special comments. This makes tests easier to read and write, and consolidates the implementation of "how to run a test" in one place. Examples include Rust's compiletest or LLVM's FileCheck.

rpjohnst avatar Nov 20 '20 17:11 rpjohnst