/vim-test

Test files for vim filetype plugins

Primary LanguageVueApache License 2.0Apache-2.0

Test Build Status

Test filetype plugins, like

Usage

bash start.sh <filetype> <plugin> [<case_name>]

With fold structrue like

- test/
|
- vim-vue-plugin/

providing test/example.vue which has correct indentation,

Run all tests

run

bash test/start.sh vue vim-vue-plugin

to check if there are indentation changes or error messages.

Run a single test case

bash test/start.sh vue vim-vue-plugin basic

Configure

The .travis.yml under vim-vue-plugin is

install:
    - git clone --depth=1 https://github.com/leafOfTree/test ../test

script:
    - bash ../test/start.sh vue vim-vue-plugin