You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi.
I am not really which neovim plugin is responsible for this behavior, but I can move this issue elsewhere if this does not fall on the side of neotest-python.
Why a pretty default configuration, running a test with lua require("neotest").run.run({strategy = "dap"}) displays:
nothing in the console
the pytest initialization output in the repl
I am not sure this is wanted. Naively I would have expected all the output in the console.
my configuration
vim.cmd[[packadd packer.nvim]]returnrequire('packer').startup(function(use)
-- Packer can manage itselfuse'wbthomason/packer.nvim'-- syntax highlightinguse {
'nvim-treesitter/nvim-treesitter',
run=function()
localts_update=require('nvim-treesitter.install').update({ with_sync=true })
ts_update()
end,
}
-- display the current functions/loops etcuse"nvim-treesitter/nvim-treesitter-context"-- basic configuration to use LSPuse {
'VonHeikemen/lsp-zero.nvim',
branch='v2.x',
requires= {
-- LSP Support
{'neovim/nvim-lspconfig'},
{
'williamboman/mason.nvim',
build=function()
pcall(vim.cmd, 'MasonUpdate')
end,
},
{'williamboman/mason-lspconfig.nvim'},
-- Autocompletion
{'hrsh7th/nvim-cmp'},
{'hrsh7th/cmp-buffer'},
{'hrsh7th/cmp-path'},
{'saadparwaiz1/cmp_luasnip'},
{'hrsh7th/cmp-nvim-lsp'},
{'hrsh7th/cmp-nvim-lua'},
-- Snippets
{'L3MON4D3/LuaSnip'},
{'rafamadriz/friendly-snippets'},
}
}
-- unit tests with vimuse {
"nvim-neotest/neotest",
requires= {
"nvim-lua/plenary.nvim",
"nvim-treesitter/nvim-treesitter",
"antoinemadec/FixCursorHold.nvim",
"nvim-neotest/neotest-python",
}
}
-- debugger protocoluse'mfussenegger/nvim-dap'use'mfussenegger/nvim-dap-python'use'theHamsta/nvim-dap-virtual-text' -- in file variable inspection textuse { "rcarriga/nvim-dap-ui", requires= {"mfussenegger/nvim-dap"} } -- complete debug UIuse'LiadOz/nvim-dap-repl-highlights' -- syntax highlighting in the dap REPLuse'rcarriga/cmp-dap' -- autocompletion in the dap REPL-- checking, doc, and completionsuse'folke/neodev.nvim'end)
localdap=require('dap')
require("neotest").setup({
adapters= {
require("neotest-python")({
dap= {
django=true,
jinja=true,
justMyCode=false,
redirectOutput=true,
showReturnValue=true,
},
}),
}
})
require('dap-python').setup()
Any idea if this is a configuration issue, a bug in neotest or neotest python, something in the nvim-dap or nvim-dap-python side or even in debugpy?
The text was updated successfully, but these errors were encountered:
Hi.
I am not really which neovim plugin is responsible for this behavior, but I can move this issue elsewhere if this does not fall on the side of neotest-python.
Why a pretty default configuration, running a test with
lua require("neotest").run.run({strategy = "dap"})
displays:I am not sure this is wanted. Naively I would have expected all the output in the console.
my configuration
Any idea if this is a configuration issue, a bug in neotest or neotest python, something in the nvim-dap or nvim-dap-python side or even in debugpy?
The text was updated successfully, but these errors were encountered: