Do not execute PHPUnit tests via codeception

This commit is contained in:
Daniel Siepmann 2022-05-23 16:22:27 +02:00
parent 1d13841592
commit 93bd4a08d8
Signed by: Daniel Siepmann
GPG key ID: 33D6629915560EF4
2 changed files with 18 additions and 0 deletions

View file

@ -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
];
};

View 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