Skip to content

Add corpus tests #25

Open
Open
@resolritter

Description

@resolritter

tree-sitter grammars usually have corpus tests in a test/corpus folder, for example https://github.com/tree-sitter/tree-sitter-javascript/tree/5720b249490b3c17245ba772f6be4a43edb4e3b7/test/corpus. Those tests can be run by using tree-sitter test. They are useful for detecting existing problems, preventing bugs from future grammar changes and catching software regressions.

Are you going to add them? If not, are you willing to accept to a PR for that?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions