Logo: Relish

  1. Sign in

Project: Vimpack

Get information about a script

As a vimpack user
I want to get information about a vim script
So I know more about what I am working with

Scenarios
Get script detailed information
Given
an initialized vimpack in "test_vimpack"
When
I run vimpack -e development info rails.vim
Then
the output should contain:
Name: rails.vim
Author: Tim Pope
Version: 4.4 (2011-08-26T17:00:00-07:00)
Type: utility
Description: Ruby on Rails: easy file navigation, enhanced syntax highlighting, and more
And
the exit status should be 0
Try to get info for a script that does not exist
Given
an initialized vimpack in "test_vimpack"
When
I run vimpack -e development info this_does_not_exists_i_swear
Then
the output should contain:
Script not found!
And
the exit status should be 1

Last published about 7 years ago by shadowshell.