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

Write a couple of unit tests #27

Open
1 of 2 tasks
FourierTransformer opened this issue Nov 29, 2024 · 0 comments
Open
1 of 2 tasks

Write a couple of unit tests #27

FourierTransformer opened this issue Nov 29, 2024 · 0 comments
Labels
enhancement New feature or request good first issue Good for newcomers
Milestone

Comments

@FourierTransformer
Copy link
Collaborator

FourierTransformer commented Nov 29, 2024

I think having unit tests (or coverage) for at least the following would be good to start with:

  • Document:get_tree_sitter_token
  • Document:type_information_for_tokens

It could potentially be extended to the completion method in general, but the above two really power it and are sorta the core logic in the teal-language-server.

I'd be a little cautious of testing the formatters, since they are the most likely to change (and are just for display purposes). Having tests for the document handling, and message passing would also be good.

@FourierTransformer FourierTransformer added this to the 0.1.0 milestone Nov 29, 2024
@FourierTransformer FourierTransformer added enhancement New feature or request good first issue Good for newcomers labels Dec 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant