bats.vim icon indicating copy to clipboard operation
bats.vim copied to clipboard

Better error format

Open aliou opened this issue 8 years ago • 3 comments

:help CompilerSet
:help errorformat

~~See existing.~~

aliou avatar Apr 16 '17 15:04 aliou

https://testanything.org

aliou avatar Oct 20 '17 20:10 aliou

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)

aliou avatar Oct 23 '17 10:10 aliou

Failing error format :

join([
  \ '%Enot ok %m',
  \ '%-C# (from function %.%# in file %.%#\\, line %.%#\\,',
  \ '%-C#  in test file %f\\, line %l)',
  \ '%-C#   %m',
  \ '%-G%.%#',
  \ '%Z'
  \ ], ',')

aliou avatar Oct 23 '17 10:10 aliou