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 #9

Closed
wants to merge 2 commits into from
Closed

Test #9

wants to merge 2 commits into from

Conversation

PatWie
Copy link
Owner

@PatWie PatWie commented Aug 11, 2024

No description provided.

This commit reorganizes the source files in the project to improve
code organization and maintainability. The key changes are:

1. Separating the Lua and YAML code action providers into their own
   subdirectories under `src/code_action_providers/`.
2. Renaming the `prompt_handlers` module to `llm_handlers` to better
   reflect its purpose.
3. Adding a new `server.rs` file to encapsulate the server-related
   functionality.
@PatWie PatWie force-pushed the test branch 13 times, most recently from e9f7ab7 to abd66b9 Compare August 11, 2024 12:46
This commit adds an end-to-end test that uses headless Neovim to apply
code actions with a mocked LLM response and diff-compares the output
against a given expected output.

The goal of this test is to ensure the code actions behave as expected,
particularly when interacting with a large language model (LLM) for code
generation and modification. By running the test in a headless Neovim
environment, we can verify the end-to-end functionality of the code
action integration without relying on manual testing.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant