Commit Graph
43 Commits
Author SHA1 Message Date
f48dbfa52b chore: Replace use of deprecated vim.tbl_flatten (#112)
vim.tbl_flatten is deprecated and will be removed in 0.13. Just replaced
it with the recommendation in the deprecation notice.

For some reason discovering tests did not work anymore after upgrading from
0.11.x to 0.12.1 even though vim.tbl_flatten still works in this
version. Replacing it fixes test discovery for me though and it needs to
be done before 0.13 anyway.

Co-authored-by: Sam Castelain <sam@secury-360.com>
2026-08-18 16:40:31 +03:00
Itai Bohadana 14e1d3fc53 fix(lua): add wait to socket connect 2025-10-06 11:47:36 +03:00
Itai Bohadana d7802d89d6 fix(params_getter): try to bind even if socket exists 2025-10-06 11:47:36 +03:00
Itai Bohadana 325afe0335 fix(params_getter): try to bind even if socket exists 2025-10-06 11:47:36 +03:00
Itai Bohadana f3ebd18def feat(pytest): use socket instead of a shitton of processes 2025-10-06 11:47:34 +03:00
Rónán Carrigan 1b1b1abf92 feat(pytest): strip ansi codes from errors 2025-09-19 12:16:58 +01:00
nicos68andGitHub ed9b4d794b feat(pytest): use python_functions config option (#100) 2025-06-23 22:28:18 +01:00
EdVanDanceandGitHub 34c9f6f3dc fix: python detection on windows (#92)
- virtualenvs on windows use `Scripts` instead of `bin`
  https://github.com/pypa/virtualenv/commit/993ba1316a83b760370f5a3872b3f5ef4dd904c1
- line endings of course
2025-05-28 16:18:54 +01:00
Illia DenysenkoandGitHub ae21072712 feat: uv python detection (#98) (#98) 2025-05-28 16:16:29 +01:00
Liam JarvisandGitHub 72603dfdba fix: remove global print function call (#79)
This commit removes a call to an unknown print function call
2024-08-19 10:40:46 +01:00
Rónán Carrigan 0ab9ad3570 feat: multiple adapter instances
Allows calling the module multiple times with different configs for use
in different in projects.
2024-08-14 14:31:43 +01:00
Hao NguyenandGitHub 86ac2bbc8a fix: separate runner args (#62) 2023-12-22 19:39:11 +00:00
Rónán Carrigan 27a2676aa0 fix(pytest): handle parameterized tests without pytest discovery
Only emits position IDs with parameters when pytest discovery is enabled

See #36 and #59
2023-12-20 18:51:58 +00:00
Adrian FrischkornandGitHub 48bf141103 feat: django support. (#54) 2023-12-10 19:15:08 +00:00
Viktor AshcheulovandGitHub c969a5b007 feat: pass strategy to get_args (#57) 2023-11-12 11:02:02 +00:00
ff20740633 feat(pytest): populate parameterized test instances (#36)
Co-authored-by: Rónán Carrigan <rcarriga@tcd.ie>
2023-11-12 11:01:00 +00:00
Sebastian KohnandGitHub 054f221294 fix: detect poetry env outside of poetry shell (#49)
If you are not in a `poetry shell`, the venv detection does not work. This patch
prepends `poetry run` before `poetry env info -p`, which makes venv detection
work both inside and outside the poetry subshell.
2023-07-04 20:45:45 +01:00
Daniel WatkinsandGitHub e53920d145 chore: styling (#38) 2022-11-22 09:41:45 +00:00
Daniel WatkinsandGitHub 16c3c90b55 feat(query): include test decorators in the test definition (#34)
This means that `neotest.run.run` when the cursor is on a test's
decorators will run the decorated test (instead of running the previous
test in the file, the current behaviour).

Fixes: #31
2022-11-10 08:41:54 +00:00
Rónán Carrigan 15f566a484 fix: check exit code of proc
See https://github.com/nvim-neotest/neotest/issues/127
2022-10-13 08:44:58 +01:00
NickandGitHub eb8fa2c48c fix: assing script path var (#18) 2022-10-03 08:44:16 +01:00
Rónán Carrigan 143aacd04e fix: search runtime for python script
See https://github.com/nvim-neotest/neotest/issues/118
2022-10-01 14:48:18 +01:00
Rónán Carrigan a0c5c567fb fix: use correct separator
See https://github.com/nvim-neotest/neotest/issues/118
2022-09-28 09:02:29 +01:00
Rónán Carrigan 288e58b83d feat: filter_dir function 2022-09-12 06:59:47 +01:00
Rónán Carrigan c76e25df65 feat: custom python command
See #14
2022-08-21 21:28:56 +01:00
Rónán Carrigan aaf83100b6 feat: streamed results 2022-07-23 15:02:35 +01:00
Rónán Carrigan 023b7bda64 fix: handle missing pipenv/poetry
See #10
2022-07-10 17:19:57 +01:00
Rónán Carrigan 4ded85dfbf fix: default root to cwd in python detection 2022-06-26 10:48:41 +01:00
NickandGitHub fe5fbe4e34 feat: poetry/pipenv python detection (#9) 2022-06-23 09:36:05 +01:00
Rónán Carrigan de234d600e feat: custom test file detection
See #3
2022-06-14 10:16:58 +01:00
Rónán Carrigan e4a97894b5 fix: include extra args 2022-06-08 22:10:43 +01:00
Rónán Carrigan 304cee0223 fix: allow files ending in _test
See #3
2022-06-08 21:24:06 +01:00
Rónán Carrigan e040840e65 feat: remove vim-test arg compat 2022-06-05 11:24:07 +01:00
Rónán Carrigan ff70ffac75 refactor: rename types 2022-03-13 15:16:23 +00:00
Rónán Carrigan ca177b4c8a feat: use neotest async 2022-03-13 14:55:13 +00:00
Rónán Carrigan 95e4decca9 fix: remove snake_case requirement for test names 2022-02-20 12:34:02 +00:00
Rónán Carrigan 49ed805750 feat: add dap args 2022-02-07 09:27:43 +00:00
Rónán Carrigan a02e6d5acb feat: async build_spec 2022-02-06 21:18:33 +00:00
Rónán Carrigan 1323c5ff09 feat: root finder 2022-01-17 09:49:40 +00:00
Rónán Carrigan fc2506b841 fix: remove pyhon path from dap 2022-01-10 10:09:47 +00:00
Rónán Carrigan 5bca040611 feat: remove file searching 2022-01-07 23:06:55 +00:00
Rónán Carrigan c0a5d07143 feat: new interface 2022-01-04 09:29:32 +00:00
Rónán Carrigan b162ba1b42 feat: init commit 2022-01-02 23:15:23 +00:00