nixpkgs/home/programs/neovim/plugins/test.vim
Daniel Siepmann 082ad58af1
Migrate neovim setup
I managed my setup manually.
This commit ports the existing setup to home-manager.

The program module is used to install neovim together with plugins.
Custom plugins are now maintained at Gitea / GitHub and loaded via nix as well.
2022-03-12 11:26:32 +01:00

24 lines
633 B
VimL

let g:test#strategy = 'neoterm'
" configure additional options per test kind.
" e.g. add --debug for nearest to get additional information during
" development of the test.
let g:test#php#codeception#options = {
\ 'nearest': '--env local --html --debug',
\ 'file': '--env local --html --debug',
\}
let g:test#php#codeception#options = {
\ 'nearest': '--env production --debug',
\ 'file': '--env production --debug',
\}
let g:test#php#phpunit#options = {
\ 'nearest': '--testdox',
\ 'file': '--testdox',
\}
if !exists('g:test#php#codeception#suite')
let g:test#php#codeception#suite = 'acceptance'
endif