-
Notifications
You must be signed in to change notification settings - Fork 387
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
Test status in status bar/gutter #104
Comments
If you want this mechanism in test.vim, you can simply use the Implementing this mechanism is out of scope for this plugin. Test.vim's only job is to compose a test command and send it to a strategy, and then it's the responsibility of the strategy to provide some hooks which indicate the status of the command. |
@janko do know if anyone figured this out? |
Have you tried using the Neoterm strategy, and configuring it to display test status? |
@janko thanks, got this pretty much figured out with Neomake, which is preferable. Last piece of the puzzle is eliminating escape characters and multiple whitespaces from output, see neomake/neomake#2459. |
@nomasprime where you able to get the results in the gutter or just in the quickfix list? I tried dispatch and noemake and neither is showing anything in the gutter. I would really love to quickly see which line is failing in the gutter or inline with virtual text similar to lsp. |
Hi @MarcelRobitaille, was generally working but fiddly to setup and extra dependencies made it too brittle for my liking (eg, this issue). Also, while quickfix was quite nice, I found adding to the gutter was just too noisy combined with other diagnostics. These days I use coc-diagnostic and vim-test with VTR. Scanning and jumping with standard vim keys is just as fast but avoiding these issues combined with finding it easier to resolve failing tests with the full output frequently anyway make this setup more efficient overall. Hope this helps. |
First, thanks for the great plugin, it really "Does the right thing" 馃槃.
I see Neoterm has a feature to show whether a test passes, straight from the status bar:
In the same idea, we could imagine to see the status of tests in the quickfix panel, or/and in the gutter.
These would add a lot to the testing workflow. I'm not sure whether it would be realistic to implement though : as far as I can see, vim-test doesn't implement a mechanism to check whether a test passes or not.
The text was updated successfully, but these errors were encountered: