Skip to content

Commit 5b124ee

Browse files
committed
add repro.lua
1 parent ababcc1 commit 5b124ee

File tree

3 files changed

+34
-4
lines changed

3 files changed

+34
-4
lines changed

lazy.lua

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
return {
2-
"nsidorenco/neotest-vstest",
3-
dependencies = {
4-
"nvim-neotest/neotest",
5-
},
2+
{ "nvim-lua/plenary.nvim", lazy = true },
3+
{ "nvim-neotest/nvim-nio", lazy = true },
4+
{ "nsidorenco/neotest-vstest", lazy = true },
5+
"nvim-neotest/neotest",
66
}

lua/neotest-vstest/vstest/cli_wrapper.lua

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@ function M.create_test_runner(project)
7676
logger.info(vstest_command)
7777

7878
local process = vim.system(vstest_command, {
79+
detach = false,
7980
stdin = true,
8081
stdout = function(err, data)
8182
if data then

repro.lua

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
vim.env.LAZY_STDPATH = ".repro"
2+
load(vim.fn.system("curl -s https://raw.githubusercontent.com/folke/lazy.nvim/main/bootstrap.lua"))()
3+
4+
require("lazy.minit").repro({
5+
spec = {
6+
{ "nvim-lua/plenary.nvim", lazy = true },
7+
{ "nvim-neotest/nvim-nio", lazy = true },
8+
"nvim-treesitter/nvim-treesitter",
9+
{ "nsidorenco/neotest-vstest", lazy = true },
10+
{
11+
"nvim-neotest/neotest",
12+
opts = function()
13+
return {
14+
adapters = {
15+
require("neotest-vstest"),
16+
},
17+
log_level = 0,
18+
}
19+
end,
20+
},
21+
},
22+
})
23+
24+
require("nvim-treesitter.configs").setup({
25+
-- A list of parser names, or "all" (the listed parsers MUST always be installed)
26+
ensure_installed = { "c_sharp", "fsharp" },
27+
})
28+
29+
-- do anything else you need to do to reproduce the issue

0 commit comments

Comments
 (0)