Skip to content

Commit d33b981

Browse files
committed
add small doc to run tests
1 parent 0c83815 commit d33b981

File tree

4 files changed

+24
-2
lines changed

4 files changed

+24
-2
lines changed

.travis.yml

-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ env:
77
- CLANG_VERSION="5.0"
88

99
install:
10-
- bundle install
1110
- clang-format-${CLANG_VERSION} -version || true
1211
- vim --version
1312
- clang-format --version
File renamed without changes.

test/README.md

+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
How to run the tests
2+
====================
3+
4+
## Prerequisities
5+
6+
- Ruby 1.9 or higher
7+
- Rake
8+
- Bundler
9+
10+
## How to run tests
11+
12+
```
13+
$ bundle install --path=.bundle
14+
$ rake test
15+
```
16+
17+
## How to watch file changes and run tests automatically
18+
19+
```
20+
$ rake watch
21+
```
22+
23+
It requires guard gem.

test/Rakefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
task :test do
2-
sh 'bundle install'
2+
sh 'bundle install --path=.bundle'
33
sh 'bundle exec vim-flavor test'
44
end
55

0 commit comments

Comments
 (0)