@@ -89,22 +89,22 @@ protected function execute(InputInterface $input, OutputInterface $output): int
89
89
// run tests not referenced in suites
90
90
$ this ->runTests ($ testConfigArray ['tests ' ], $ output );
91
91
92
- // run tests in suites
92
+ // run tests referenced in suites
93
93
$ this ->runTestsInSuite ($ testConfigArray ['suites ' ], $ output );
94
94
95
95
return $ this ->returnCode ;
96
-
97
96
}
98
97
99
98
/**
100
99
* Run tests not referenced in suites
101
- * @param array $testsConfig
100
+ *
101
+ * @param $testsConfig
102
102
* @param OutputInterface $output
103
+ * @return void
103
104
* @throws TestFrameworkException
104
105
*/
105
- private function runTests ($ testsConfig , OutputInterface $ output ) {
106
-
107
-
106
+ private function runTests ($ testsConfig , OutputInterface $ output )
107
+ {
108
108
$ tests = $ testsConfig ?? [];
109
109
$ codeceptionCommand = realpath (PROJECT_ROOT . '/vendor/bin/codecept ' ) . ' run functional ' ;
110
110
$ testsDirectory = TESTS_MODULE_PATH .
@@ -135,11 +135,13 @@ private function runTests($testsConfig, OutputInterface $output) {
135
135
136
136
/**
137
137
* Run tests referenced in suites within suites' context.
138
- * @param array $suitesConfig
138
+ *
139
+ * @param $suitesConfig
139
140
* @param OutputInterface $output
141
+ * @return void
140
142
*/
141
- private function runTestsInSuite ($ suitesConfig , OutputInterface $ output ) {
142
-
143
+ private function runTestsInSuite ($ suitesConfig , OutputInterface $ output )
144
+ {
143
145
$ suites = $ suitesConfig ?? [];
144
146
$ codeceptionCommand = realpath (PROJECT_ROOT . '/vendor/bin/codecept ' ) . ' run functional --verbose --steps ' ;
145
147
$ testGroups = array_keys ($ suites );
0 commit comments