vim-gtest


Ⅰ. 插件描述

Vim plugin to quickly select and asyncronously run GoogleTest

Ⅱ. 基本信息

创建日期:  2015-12-30
使用用户:  0
Github星:  7
插件作者:  Alessandro Pezzato

Ⅲ. 安装方法

使用Vundle管理器安装

在你的.vimrc下添加:
Plugin '/vim-gtest-today-cannot-touch'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall

对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。

使用NeoBundle管理器安装

在你的.vimrc下添加:
NeoBundle '/vim-gtest-today-cannot-touch'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall

使用VimPlug管理器安装

在你的.vimrc下添加:
Plug '/vim-gtest-today-cannot-touch'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall

使用Pathogen管理器安装

在终端中运行以下命令:
cd ~/.vim/bundle
git clone https://github.com/vim-scripts/vim-gtest

Ⅳ. 文档说明

Google Test is a unit testing library for the C++ programming language. With this plugin you can:

  • jump between tests in the open buffer
  • launch test under the cursor
  • select a test case, with autocompletion
  • select a test name, with autocompletion
  • launch selected tests
  • highlight failing tests in the quickfix
  • fuzzy search and select tests with ctrlp
  • jump between test and implementation
  • toggle DISABLED_ in source code

Project page: https://github.com/alepez/vim-gtest

添加新评论