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

Persist neotest test results in neovim session #195

Open
Willem-J-an opened this issue Jan 19, 2023 · 2 comments
Open

Persist neotest test results in neovim session #195

Willem-J-an opened this issue Jan 19, 2023 · 2 comments

Comments

@Willem-J-an
Copy link

When I run tests, and save my neovim session, then close and re-open the session, the tests that previously succeeded show a question mark again in the summary panel. Is it possible to persist the result of the tests in a session, so they would remain as passed when I re-open a session?

If not, could it be nice as feature request?

Thanks!

@andryuha-salo
Copy link

andryuha-salo commented Dec 25, 2023

I think this type of cache is destined to fail, considering anything can happen to the code between nvim launches (git pull), so cached results may be outdated

@Willem-J-an
Copy link
Author

There is nothing preventing me from doing a git pull without closing neovim. Test results being outdated is not necessarily a problem, just something to keep in mind, paired with an option to reset results when needed.

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

No branches or pull requests

2 participants