From 9c435e9e51bfeebcbbc7993daf3ee1e9335c4186 Mon Sep 17 00:00:00 2001 From: Daniel Siepmann Date: Wed, 26 Apr 2023 09:24:34 +0200 Subject: [PATCH] Adjust test execution for project Colors is already added, no need to specify it a 2nd time. Also it recently became more helpful to not stop tests on first error. The original config is kept for faster switch. --- .../neovim/configuration/ftdetect/folder_reuter.vim | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/home/programs/neovim/configuration/ftdetect/folder_reuter.vim b/home/programs/neovim/configuration/ftdetect/folder_reuter.vim index 0f144cb..e854c6e 100644 --- a/home/programs/neovim/configuration/ftdetect/folder_reuter.vim +++ b/home/programs/neovim/configuration/ftdetect/folder_reuter.vim @@ -10,15 +10,19 @@ augroup END " As long as we use older phpunit which does not provider proper testdox output function! ReuterSetupPhpUnitUnit() let g:test#php#phpunit#options = { - \ 'file': '--testdox --colors', - \ 'nearest': '--testdox --colors', + \ 'file': '--testdox ', + \ 'nearest': '--testdox', \} endfunction function! ReuterSetupPhpUnitFunctional() let g:test#php#phpunit#options = { - \ 'file': '--stop-on-error --stop-on-failure --testdox --colors', - \ 'nearest': '--testdox --colors', + \ 'file': '--testdox', + \ 'nearest': '--testdox', \} + " let g:test#php#phpunit#options = { + " \ 'file': '--stop-on-error --stop-on-failure --testdox', + " \ 'nearest': '--testdox', + " \} endfunction