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
python tester.py run -a
Updating snapshots
python tester.py update -a
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
```bash
python tester.py run -a
```
## Updating snapshots
```bash
python tester.py update -a
```
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
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