Skip to content

jborkows/gotest.nvim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple plugin for marking and running tests

Attach command on save which runs the tests in command line. It tries marking all the tests with either success or failure.

Currently supported:

  • lua
  • go (currently test method should start with prefix "Test")

Quick install

Lazy

  {
    'jborkows/gotest.nvim',
    config = function()
      local plugin = require 'gotest'
      plugin.setup()
    end,
    dependencies = {
      'nvim-lua/plenary.nvim',
      'nvim-treesitter/nvim-treesitter',
    },
  }

User commands:

TestResults

Shows last test execution

TODO:

fix issue with cache of golang test -> state of tests should be stored on disk and reloaded

About

Simple plugin for marking result of tests

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages