junegunn / junegunn/vader.vim

Display only the Vader results when running isolated tests

Open
#128 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Vim Script
Stars
599
Forks
40
PR merge metrics
No merged PRs in 30d

Description

Hi,

I would like to have a `run.sh` script that once executed in the terminal, will provide me with the output of my Vader tests.

I have already used the information provided in the **_Isolated Plugin Tests_** and **_Travis_** sections:

```
mvim -v -Nu <(cat << VIMRC
filetype off
set rtp+=~/.vim/bundle/repos/github.com/junegunn/vader.vim
filetype plugin indent on
syntax enable
VIMRC) -c 'Vader! *' > /dev/null
```

which seems to be working, although I have the following issues:

1) There is a bit of a delay after I see the `Vim: Warning: Output is not to a terminal` message.

2) I see a lot of version information etc. Is there a way to disable the version display and only see the Vader output? This is the bit that I want:

```
Starting Vader: 1 suite(s), 1 case(s)
Starting Vader: /Users/me/dev/vim/my_plugin/tests/test_echo.vader
(1/1) [EXECUTE] Simple echo command to generate a string
Success/Total: 1/1
Success/Total: 1/1 (assertions: 1/1)
Elapsed time: 0.011842 sec.
```

Thanks.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.