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

[BUG] Run all tests not working #474

Open
uwla opened this issue Nov 23, 2024 · 0 comments
Open

[BUG] Run all tests not working #474

uwla opened this issue Nov 23, 2024 · 0 comments
Assignees

Comments

@uwla
Copy link

uwla commented Nov 23, 2024

NeoVim Version
Output of nvim --version

NVIM v0.10.2
Build type: RelWithDebInfo
LuaJIT 2.1.1727870382
Run "nvim -V1 -v" for more info

Describe the bug

The command require("neotest").run.run(vim.fn.getcwd()) should run all tests, right?

When I run this command for PHP unit tests, all tests fail, but if I run the command
require("neotest").run.run(vim.fn.expand("%")) for each file individually,
then all test succed.

Also, For JavaScript tests using Vitest, each test pass individually, but when
running all tests, actually none of them is run.

I'm using the providers neotest-php and neotest-vitest.

Expected behavior

NeoTest works quite well when running a single file, or a single test in that file,
but it's not working to run all files.

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