editorconfig-plugin-tests


Ⅰ. 插件描述

Tests for EditorConfig plugins

Ⅱ. 基本信息

创建日期:  2012-07-31
使用用户:  2
Github星:  10
插件作者:  EditorConfig

Ⅲ. 安装方法

使用Vundle管理器安装

在你的.vimrc下添加:
Plugin 'editorconfig/editorconfig-plugin-tests'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall

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

使用NeoBundle管理器安装

在你的.vimrc下添加:
NeoBundle 'editorconfig/editorconfig-plugin-tests'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall

使用VimPlug管理器安装

在你的.vimrc下添加:
Plug 'editorconfig/editorconfig-plugin-tests'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall

使用Pathogen管理器安装

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

Ⅳ. 文档说明

Tests for EditorConfig Plugins

There is currently no way to automate tests for EditorConfig plugins like there
is for the EditorConfig core libraries. This repository contains instructions
to help developers manually test their EditorConfig plugins.

Running Tests

The tests directory contains instructions for testing various EditorConfig

  1. The test_files directory contains the test files referenced in
  2. instructions.

Tests should be run by opening up each relevant file in the tests
directory, running through the tests in the file and verifying that the
expected behavior is observed.

After running each test the files in the git repository should be reverted and
any newly created files should be deleted. To revert files in the git
repository use:

git checkout -- test_files/

License

This work is licensed under the Creative Commons Attribution 4.0 International
License. To view a copy of this license, visit http://creativecommons.org/licenses/by/4.0/
or send a letter to Creative Commons, PO Box 1866, Mountain View, CA 94042, USA.

添加新评论