Perl support for test runners #6
Replies: 4 comments 18 replies
-
That's actually a really good and important support to work on. While reading, debugging comes to my mind too. Your proposal of engaging with such tools (probably except vim-ultest) is completely aligned with this org goal. |
Beta Was this translation helpful? Give feedback.
-
I know there's an outstanding bug with |
Beta Was this translation helpful? Give feedback.
-
I updated the wiki for |
Beta Was this translation helpful? Give feedback.
-
For vscode, they have a testing API. I've considered adding support to the Perl Navigator bscan/PerlNavigator#21, although this would only be for vscode users. Although LSP and DAP are standardized protocols for editing and debugging, I don't believe there is a standardized testing protocol across editors. |
Beta Was this translation helpful? Give feedback.
-
Probably a pretty big task, but it would be nice if most popular test runners had a decent ability to work with Perl.
I only know Neovim and, being Neovim, it doesn't actually have a "standard" test runner. There are three (but really only two) that I know of:
Most test runners that I am familiar with do more than simply run a set of tests. They make it easy to run a single test while editing it. They will constantly run your tests (if you want), or will run your tests on change. Many interpret the output (neotest will do this) and provide colors or clues as to what went wrong. f.e. neotest will tell me line numbers and give context and can also populate the quickfix window with this information. This requires something that parses the output of a test runner.
What editors, besides, Neovim have a test runner (or runners) and adequately support Perl?
What is required to have an experience, comparable to Python or Go, while running and writing tests?
Beta Was this translation helpful? Give feedback.
All reactions