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

No test output file found! #16

Open
suneiang opened this issue Sep 7, 2024 · 2 comments
Open

No test output file found! #16

suneiang opened this issue Sep 7, 2024 · 2 comments

Comments

@suneiang
Copy link

suneiang commented Sep 7, 2024

Please help with this when i run it returned this error log
...l/share/nvim/lazy/neotest-pest/lua/neotest-pest/init.lua:169: No test output file found! Should have been at: storage/app/pest-20240907-230730

Here is my neotest config:
return {
"nvim-neotest/neotest",
optional = true,
dependencies = {
"nvim-neotest/nvim-nio",
"nvim-lua/plenary.nvim",
"antoinemadec/FixCursorHold.nvim",
"nvim-treesitter/nvim-treesitter",
"marilari88/neotest-vitest",
"fredrikaverpil/neotest-golang",
"theutz/neotest-pest",
"olimorris/neotest-phpunit",
},
opts = {
adapters = {
["neotest-pest"] = {},
["neotest-phpunit"] = {},
["neotest-vitest"] = {},
["neotest-golang"] = {
-- FIX: doesn't work when in subdirectory of repo (ex: "sesh/v2/namer")
args = { "-coverprofile=" .. vim.fn.getcwd() .. "/coverage.out" },
},
},
},

this is what my test run look like
test('example test', function () {
---
---
}

@suneiang suneiang changed the title No test output file found1 No test output file found! Sep 7, 2024
@josephcrawfordSRH
Copy link

I am seeing the same issue when attempting to use this plugin, any assistance would be appreciated.

@V13Axel
Copy link
Owner

V13Axel commented Nov 20, 2024

That error log almost always means the command to perform the tests didn't actually run successfully, exiting with a non-zero code. Are you able to run your tests separately?

And, are you trying to run via sail or system PHP?

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

3 participants