Integrating testing/prove into vim

53 views
Skip to first unread message

Danny

unread,
Jun 25, 2009, 10:25:18 AM6/25/09
to vim-perl
I have been looking for solutions for integrating prove's output into
vim as compiler output. I generally use Test::More and
Test::Exception.

I have come across two vim scripts for doing this [1] from vim.org and
[2] from perlmonks.

However, neither script correctly reads the the prove output. Mostly
I'm wondering if anyone knows how to properly edit vim's errorformat
to read the output.

Sample output follows.
===
# Failed test 'Foo called okay'
# at t/03_csv.t line 31.
# got: 'danny=1,universe=42'
# expected: '7'
# Looks like you failed 1 test of 6.
===


[1] http://www.vim.org/scripts/script.php?script_id=1319
[2] http://www.perlmonks.org/index.pl?node_id=434793

DrBean

unread,
Jul 30, 2009, 10:57:21 PM7/30/09
to vim-perl
I would search on Ovid's useperl journal. He is associated with prove
and a vim user. What about this one:http://use.perl.org/~Ovid/journal/
22191
Reply all
Reply to author
Forward
0 new messages