Improve testing framework #2
Reference in New Issue
Block a user
Delete Branch "feat/test-framework"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This PR adds a custom snapshot tester script to run the lexer and parser on full Midas source files and compare the outputs / errors with reference snapshots
This Golden Exemplar approach allows broader, more complete tests without the need to tediously define all cases.
The already implemented tests have been kept for reference and because they still make sense
Running the tester
Updating snapshots