Add setup to execute tests of TYPO3 testing framework
This commit is contained in:
parent
ad60525629
commit
aa3374fba2
|
@ -17,3 +17,17 @@ function! Typo3SetupPhpUnitFunctional()
|
|||
\ 'nearest': '--configuration Build/phpunit/FunctionalTests.xml',
|
||||
\}
|
||||
endfunction
|
||||
|
||||
augroup typo3TestingFrameworkFolder
|
||||
autocmd!
|
||||
autocmd BufEnter **/stuff/typo3/testing-framework/Tests/Unit/** execute "call Typo3TestingFrameworkSetupPhpUnitUnit()"
|
||||
augroup END
|
||||
|
||||
function! Typo3TestingFrameworkSetupPhpUnitUnit()
|
||||
let g:test#php#phpunit#options = {
|
||||
\ 'file': '--configuration Resources/Core/Build/UnitTests.xml',
|
||||
\ 'nearest': '--configuration Resources/Core/Build/UnitTests.xml',
|
||||
\}
|
||||
|
||||
let g:test#php#phpunit#executable = '.Build/bin/phpunit'
|
||||
endfunction
|
||||
|
|
BIN
projects/typo3/testing-framework-shell.nix
Normal file
BIN
projects/typo3/testing-framework-shell.nix
Normal file
Binary file not shown.
Loading…
Reference in a new issue