Test.vim goes to great lengths to predict what test command you want to run. Firstly, it automatically recognizes the testing framework. Secondly, it inspects your project environment to figure out what command it should run in the shell.
For example, the executable for RSpec (and Cucumber) is chosen as follows:
.zeus.sock
is detected, runs zeus rspec
bin/rspec
is detected, runs bin/rspec
(that covers Spring)Gemfile
is detected, runs bundle exec rspec
rspec
If you're using Minitest, check out the dedicated wiki page and prepare to get psyched.
Jasmine and Mocha wrappers automatically detect if you have CoffeeScript files, and add the appropriate options for loading the compiler. Nearest tests also work, test.vim parses your test file and constructs regexes.
Clojure wrapper under the hood uses the excellent Fireplace.vim plugin by Tim Pope. Fireplace.vim already has built-in functionality for running tests, but test.vim adds some features on top like remembering the last test.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4