Skip to content

Commit

Permalink
Add documentation for using insta
Browse files Browse the repository at this point in the history
  • Loading branch information
saulshanabrook committed Jul 19, 2023
1 parent 8eee11a commit 83674da
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,14 @@ npm install -g @vscode/vsce

Run `vsce package` in the `vscode/egglog-1.0.0` folder to reconstruct the .vsix file and install it manually.

## Development

To run the tests use `make test`.

We use [`insta`](https://insta.rs/) for snapshot testing. For output stability, these tests must always be run using `make test`.

If you make a change that intentionally changes the output format, you can update all snapshots with `env INSTA_UPDATE=1 make test`.

# Syntax

The syntax of the .egg files is defined in `src/ast/parse.lalrpop`.
Expand Down

0 comments on commit 83674da

Please sign in to comment.