V13Axel / neotest-pest

Neotest adapter for Pest 2.0
MIT License
19 stars 6 forks source link

No test output file found! #16

Open suneiang opened 2 months ago

suneiang commented 2 months ago

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 () {

---

}

josephcrawfordSRH commented 1 month ago

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

V13Axel commented 4 days ago

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?