Skip to content

Augment query testing procedure #37

Open
@resolritter

Description

@resolritter

In #36 a script was added for testing that the queries can be compiled correctly, which is not the same as testing that they are producing the expected output. For the latter, we could have something like nvim-treesitter's query tests (see https://github.com/nvim-treesitter/nvim-treesitter/tree/87faf372eb517077cc600c4e653e4fb3252d02ac/tests/query, e.g. https://github.com/nvim-treesitter/nvim-treesitter/blob/87faf372eb517077cc600c4e653e4fb3252d02ac/tests/query/highlights/gleam/import.gleam).


Idea originated from #36 (comment)

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