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:
parent
d6068ed38d
commit
9c435e9e51
|
@ -10,15 +10,19 @@ augroup END
|
||||||
" As long as we use older phpunit which does not provider proper testdox output
|
" As long as we use older phpunit which does not provider proper testdox output
|
||||||
function! ReuterSetupPhpUnitUnit()
|
function! ReuterSetupPhpUnitUnit()
|
||||||
let g:test#php#phpunit#options = {
|
let g:test#php#phpunit#options = {
|
||||||
\ 'file': '--testdox --colors',
|
\ 'file': '--testdox ',
|
||||||
\ 'nearest': '--testdox --colors',
|
\ 'nearest': '--testdox',
|
||||||
\}
|
\}
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
function! ReuterSetupPhpUnitFunctional()
|
function! ReuterSetupPhpUnitFunctional()
|
||||||
let g:test#php#phpunit#options = {
|
let g:test#php#phpunit#options = {
|
||||||
\ 'file': '--stop-on-error --stop-on-failure --testdox --colors',
|
\ 'file': '--testdox',
|
||||||
\ 'nearest': '--testdox --colors',
|
\ 'nearest': '--testdox',
|
||||||
\}
|
\}
|
||||||
|
" let g:test#php#phpunit#options = {
|
||||||
|
" \ 'file': '--stop-on-error --stop-on-failure --testdox',
|
||||||
|
" \ 'nearest': '--testdox',
|
||||||
|
" \}
|
||||||
|
|
||||||
endfunction
|
endfunction
|
||||||
|
|
Loading…
Reference in a new issue