vim-ember-cli-test-runner


Ⅰ. 插件描述

Run ember-cli tests from within Vim

Ⅱ. 基本信息

创建日期:  2014-11-19
使用用户:  10
Github星:  26
插件作者:  Toran Billups

Ⅲ. 安装方法

使用Vundle管理器安装

在你的.vimrc下添加:
Plugin 'jarrodctaylor/vim-ember-cli-test-runner'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall

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

使用NeoBundle管理器安装

在你的.vimrc下添加:
NeoBundle 'jarrodctaylor/vim-ember-cli-test-runner'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall

使用VimPlug管理器安装

在你的.vimrc下添加:
Plug 'jarrodctaylor/vim-ember-cli-test-runner'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall

使用Pathogen管理器安装

在终端中运行以下命令:
cd ~/.vim/bundle
git clone https://github.com/jarrodctaylor/vim-ember-cli-test-runner

Ⅳ. 文档说明

# vim-ember-cli-test-runner

If you are a Vim user and write Ember apps using ember-cli then this plugin is
for you. With this plugin you can run all of the tests for your Ember project,
a single module of tests, or one individual test all without leaving your Vim buffer.

The Plugin in Action

The gif shows tests written in CoffeeScript but this plugin will work for both JavaScript and CoffeeScript.

vim-ember-cli

Requirements

You will need to have vim-dispatch
installed for this plugin to run the tests in an asynchronous manner.

Usage

The plugin provides three commands:

RunAllEmberTests
RunSingleEmberTest
RunSingleEmberTestModule
RerunLastEmberTests

Ensure that your cursor is within a module or test as appropriate for the
desired command that you are trying to run.

Installation

Use your plugin manager of choice.

  • Pathogen

    • git clone https://github.com/JarrodCTaylor/vim-ember-cli-test-runner ~/.vim/bundle/vim-ember-cli-test-runner
  • Vundle

    • Add Bundle 'https://github.com/JarrodCTaylor/vim-ember-cli-test-runner' to .vimrc
    • Run :BundleInstall
  • NeoBundle

    • Add NeoBundle 'https://github.com/JarrodCTaylor/vim-ember-cli-test-runner' to .vimrc
    • Run :NeoBundleInstall
  • vim-plug

    • Add Plug 'https://github.com/JarrodCTaylor/vim-ember-cli-test-runner' to .vimrc
    • Run :PlugInstall

添加新评论