All Projects → buoto → gotests-vim

buoto / gotests-vim

Licence: MIT license
Vim plugin for https://github.com/cweill/gotests

Programming Languages

Vim Script
2826 projects

Projects that are alternatives of or similar to gotests-vim

universalmutator
Regexp based tool for mutating generic source code across numerous languages
Stars: ✭ 105 (-18.6%)
Mutual labels:  golang-tools
name-assign.vim
Vim plugin to automate replacing expressions with assigned variables in any programming language
Stars: ✭ 45 (-65.12%)
Mutual labels:  vim-plugins
swifty-vim
⌨️ A Vim plugin for Swift which provides file detection, syntax highlighting, support for compiling and running tests, and optional support for formatting and linting tools.
Stars: ✭ 18 (-86.05%)
Mutual labels:  vim-plugins
writable search.vim
Grep for something, then write the original files directly through the search results.
Stars: ✭ 47 (-63.57%)
Mutual labels:  vim-plugins
vimapt
A package manager for vim (VimApt => Vim's Advanced Package Tools)
Stars: ✭ 16 (-87.6%)
Mutual labels:  vim-plugins
gobrew
Go version manager. Super simple tool to install and manage Go versions. Install go without root. Gobrew doesn't require shell rehash.
Stars: ✭ 171 (+32.56%)
Mutual labels:  golang-tools
ipynb notedown.vim
vim plugin for editing jupyter notebook (ipynb) files through notedown
Stars: ✭ 27 (-79.07%)
Mutual labels:  vim-plugins
bingo
The missing package manager for golang binaries (its homebrew for "go install")
Stars: ✭ 177 (+37.21%)
Mutual labels:  golang-tools
vim-debugstring
Debug printf()-style at the speed of light
Stars: ✭ 30 (-76.74%)
Mutual labels:  vim-plugins
vim-jsonc
⚠️Deprecated⚠️: Vim syntax highlighting plugin for JSON with C-style line (//) and block (/* */) comments.
Stars: ✭ 52 (-59.69%)
Mutual labels:  vim-plugins
dotfiles
My hand crafted .dotfiles 🤚🛠❤️
Stars: ✭ 49 (-62.02%)
Mutual labels:  vim-plugins
vim-phpstan
A Vim plugin for PHPStan - https://github.com/phpstan/phpstan. It calls `phpstan` to do static analysis of your PHP code and displays the errors in Vim's quickfix list.
Stars: ✭ 26 (-79.84%)
Mutual labels:  vim-plugins
gocoverutil
No description or website provided.
Stars: ✭ 25 (-80.62%)
Mutual labels:  golang-tools
vim-drawer
VimDrawer is a Vim plugin to group related buffers in tabs automatically by the file name.
Stars: ✭ 26 (-79.84%)
Mutual labels:  vim-plugins
gvm
Go Version Manager (written in Go for cross-platform usability)
Stars: ✭ 117 (-9.3%)
Mutual labels:  golang-tools
tabulous
Vim plugin for setting the tabline including the tab page labels. It is lightweight and written in pure Vim script.
Stars: ✭ 21 (-83.72%)
Mutual labels:  vim-plugins
go-typeconv
Bring implicit type conversion into Go in a explicit way
Stars: ✭ 24 (-81.4%)
Mutual labels:  golang-tools
ranger-explorer.vim
Vim plugin to use ranger as a file explorer. Seamless switching between vim and ranger.
Stars: ✭ 30 (-76.74%)
Mutual labels:  vim-plugins
vim-UT
Unit Testing plugin for Vim
Stars: ✭ 18 (-86.05%)
Mutual labels:  vim-plugins
goreporter
A Golang tool that does static analysis, unit testing, code review and generate code quality report.
Stars: ✭ 3,019 (+2240.31%)
Mutual labels:  golang-tools

gotests-vim

Vim plugin for gotests, that allows you to generate table driven tests easily.

Usage

Call :GoTests to generate a test for the function at the current line or functions selected in visual mode.

Call :GoTestsAll to generate tests for all functions in the current buffer.

Installation

Gotests-vim requires gotests to be available in your $PATH. Alternatively you can provide path to gotests using g:gotests_bin setting.

Plugin installation:

  • Pathogen
  • git clone https://github.com/buoto/gotests-vim.git ~/.vim/bundle/gotests-vim
  • vim-plug
  • Plug 'buoto/gotests-vim'
  • NeoBundle
  • NeoBundle 'buoto/gotests-vim'
  • Vundle
  • Plugin 'buoto/gotests-vim'
  • Vim packages (since Vim 7.4.1528)
  • git clone https://github.com/buoto/gotests-vim.git ~/.vim/pack/plugins/start/gotests-vim

Settings

If you want you can set path to your gotests binary if it's not in your path, for example:

let g:gotests_bin = '/home/user/go/bin/gotests'

You can also set custom template directory:

let g:gotests_template_dir = '/home/user/templates/'
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].