Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test: add support for doing snapshot testing #433

Merged
merged 1 commit into from
Jun 2, 2021

Conversation

char0n
Copy link
Member

@char0n char0n commented Jun 2, 2021

Snapshot testing is one of the idiomatic way of producing
tests while building a parser.

Our snapshot tests will be of two types
a.) Dehydrated ApiDOM snapshot testing

Best for keeping track of data and metadata encoded
within ApiDOM.

b.) S-expresssion representation of ApiDOM

Best for checking if semantics of ApiDOM Tree
are correct.

Closes #432

Snapshot testing is one of the idiomatic way of producing
tests while building a parser.

Our snapshot tests will be of two types
a.) Dehydrated ApiDOM snapshot testing

Best for keeping track of data and metadata encoded
within ApiDOM.

b.) S-expresssion representation of ApiDOM

Best for checking if semantics of ApiDOM Tree
are correct.

Closes #432
@char0n char0n added enhancement New feature or request ApiDOM labels Jun 2, 2021
@char0n char0n self-assigned this Jun 2, 2021
@char0n char0n merged commit ac762f9 into master Jun 2, 2021
@char0n char0n deleted the char0n/spanshot-testing branch June 2, 2021 19:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ApiDOM enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Implement support for snapshot testing in ApiDOM
1 participant