Make live unit testing work in Neovim and you will have my undying appreciation.

This page summarizes the projects mentioned and recommended in the original post on /r/neovim

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • efm-langserver

    General purpose Language Server

    I've only just come across them, but I assume this could theoretically be achieved with https://github.com/mattn/efm-langserver and https://github.com/jose-elias-alvarez/null-ls.nvim

  • null-ls.nvim

    Discontinued Use Neovim as a language server to inject LSP diagnostics, code actions, and more via Lua.

    I've only just come across them, but I assume this could theoretically be achieved with https://github.com/mattn/efm-langserver and https://github.com/jose-elias-alvarez/null-ls.nvim

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

  • vim-ultest

    The ultimate testing plugin for (Neo)Vim

  • nvim-dap-python

    An extension for nvim-dap, providing default configurations for python and methods to debug individual test methods or classes.

    nvim-dap-python is able to detect the current test the cursor is in through tree-sitter, so a similar approach could be used to find out which test you are currently editing and run it asynchronously. That would solve one part of the problem.

  • solargraph_test_coverage

    A Solargraph LSP Diagnostic plugin that runs your unit tests in the background and reports line and branch coverage in your text editor.

    It's for ruby, but you can check out how I did it: https://github.com/deepdivr/solargraph_test_coverage

  • vim-test

    Run your tests at the speed of thought

    Check out Vim-test https://github.com/vim-test/vim-test and if c# has something like rsync -- dry-run for tests to retrieve all tests with paths.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts