Do not execute PHPUnit tests via codeception
This commit is contained in:
parent
1d13841592
commit
93bd4a08d8
|
@ -179,6 +179,7 @@ let
|
|||
patches = [
|
||||
./neovim/patches/disable_test_paratest.patch
|
||||
./neovim/patches/test_extend_codeception_detection.patch
|
||||
./neovim/patches/test_limit_codeception.patch
|
||||
];
|
||||
};
|
||||
|
||||
|
|
17
home/programs/neovim/patches/test_limit_codeception.patch
Normal file
17
home/programs/neovim/patches/test_limit_codeception.patch
Normal file
|
@ -0,0 +1,17 @@
|
|||
No PR open.
|
||||
|
||||
I remove support for phpunit tests ending with test.php.
|
||||
I use phpunit all the time right now. Those should not be executed via codeception.
|
||||
diff --git a/autoload/test/php/codeception.vim b/autoload/test/php/codeception.vim
|
||||
index d627dd5..9615a1d 100644
|
||||
--- a/autoload/test/php/codeception.vim
|
||||
+++ b/autoload/test/php/codeception.vim
|
||||
@@ -1,6 +1,6 @@
|
||||
if !exists('g:test#php#codeception#file_pattern')
|
||||
let g:test#php#codeception#file_pattern =
|
||||
- \ '\v((c|C)e(p|s)t\.php$|\.feature$|(t|T)est\.php$)'
|
||||
+ \ '\v((c|C)e(p|s)t\.php$|\.feature$)'
|
||||
endif
|
||||
|
||||
function! test#php#codeception#test_file(file) abort
|
||||
|
Loading…
Reference in a new issue