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

does vspec support `Shared Example Groups'? #45

Closed kamichidu closed 10 years ago

kamichidu commented 10 years ago

i sometimes want to write some tests for common behaviour. but i don't know how to write common behaviour using vspec. rspec has `Shared Example Object', for writing that.

Shared example group https://www.relishapp.com/rspec/rspec-core/v/2-0/docs/example-groups/shared-example-group

is vspec supporting that? or, do you have a plan to support it?

kana commented 10 years ago

Currently vim-vspec doesn't have syntax to express shared examples. I'll implement it someday.

kamichidu commented 10 years ago

thank you for your reply. i see. i'll be waiting for its feature!