Skip to content
Browse files

Document how to run the vspec test suite.

  • Loading branch information...
1 parent 1dea9ff commit 85f5f5bb7bb62ff8c57388018d37240bd1bb2c3e @nelstrom committed Dec 22, 2010
Showing with 27 additions and 0 deletions.
  1. +27 −0
@@ -2,4 +2,31 @@ A custom text object for selecting ruby blocks.
Depends on Kana's [textobj-user plugin][u].
+Test suite requires [vspec][] (also by Kana).
+Running the specs
+To run the specs, you call vspec as follows:
+ vspec {input-script} [{non-standard-runtimepath} ...]
+In this case, the non-standard runtimepath must include the vspec plugin, the textobj-user plugin (which is a dependency for this plugin) and this plugin.
+Assuming you use [pathogen][] to manage your plugins, then the plugins required to run the test suite will be found in the following locations:
+ ~/dotfiles
+ /vim
+ /textobj-user
+ /textobj-rubyblock
+ /vspec
+So to run the `basic.input` tests, you would run:
+ cd ~/dotfiles/vim/textobj-rubyblock
+ ../vspec/bin/vspec test/basic.input ../vspec/ ../textobj-user/ .

0 comments on commit 85f5f5b

Please sign in to comment.
Something went wrong with that request. Please try again.