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.
This commit is contained in:
Daniel Siepmann 2023-04-26 09:24:34 +02:00
parent d6068ed38d
commit 9c435e9e51
Signed by: Daniel Siepmann
GPG key ID: 33D6629915560EF4

View file

@ -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