bats.vim
bats.vim copied to clipboard
Better error format
https://testanything.org
Partially done in https://github.com/aliou/bats.vim/commit/ac1e6617ad0e4879b9921c65bc04b62d350950b0, still need to do error messages when the error doesn't happen in a test file (e.g. the function tested fails)
Failing error format :
join([
\ '%Enot ok %m',
\ '%-C# (from function %.%# in file %.%#\\, line %.%#\\,',
\ '%-C# in test file %f\\, line %l)',
\ '%-C# %m',
\ '%-G%.%#',
\ '%Z'
\ ], ',')