kana / vim-vspec

Vim plugin: Testing framework for Vim script
http://www.vim.org/scripts/script.php?script_id=3012
222 stars 13 forks source link

Specify a test to be run. #60

Closed vfbiby closed 3 years ago

vfbiby commented 4 years ago

Hi, after days. I finally make it, Use TDD way do need specify a test to be run. I wish this pr would be merged. I write a test that following the t test. But I really can't figure out how to let vim-flavor support this feature. usage:

./bin/vspec ./t/some-test_spec.vim --grep "test to be run"

If the code is not elegant, kana you can rewrite. TDDer do need this feature ,

vfbiby commented 4 years ago
specify-test_spec

I don't know not pass on CI, it all passed on my mac.

vfbiby commented 4 years ago

@kana would you mind give me some direction to solve this problem.