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

Simulate language server in tests #34

Open
2 tasks done
PeyTy opened this issue Jun 20, 2022 · 0 comments
Open
2 tasks done

Simulate language server in tests #34

PeyTy opened this issue Jun 20, 2022 · 0 comments
Assignees
Labels
#enhancement Absolutely new feature or useful change

Comments

@PeyTy
Copy link
Member

PeyTy commented Jun 20, 2022

Is your feature request related to a problem? Please describe

Language server is not auto-tested in any way currently

Describe the solution you'd like

Add simulation tests similar to how TestParser does: run lint over a code sample and compare to the desired server output

Describe alternatives you've considered

Not doing anything, cause we normally use server a lot anyway while coding in Hexa

Describe the possible impacts for development

We could add this into CI, also helps to validate compatibility regressions

Additional context

Those tests should not go into release builds, and maybe use json files to describe output (ohh, maybe use objects in code, cause they are typed)

Agreements

@PeyTy PeyTy added this to the Quality assurance milestone Jun 20, 2022
@PeyTy PeyTy self-assigned this Jun 20, 2022
@PeyTy PeyTy added the #enhancement Absolutely new feature or useful change label Jun 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
#enhancement Absolutely new feature or useful change
Projects
None yet
Development

No branches or pull requests

2 participants