kana / vim-vspec

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

Allow using the same description for multiple :it blocks within a :describe block #42

Closed kana closed 10 years ago

kana commented 10 years ago

Currently, vim-vspec doesn't handle :it blocks with the same description properly. All but the last one will never be executed. Only the last one will be executed many times. Though it's better to write a distinct description for each :it block, the current behavior is surprising for users, and it's annoying when writing one-time tests to check nontrivial behavior.