Skip to content

Commit 7ff4c3d

Browse files
committed
MQE-1800: Allow generate:tests to continue running even if one test fails generation
1 parent 55e0bed commit 7ff4c3d

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/Magento/FunctionalTestingFramework/Util/GenerationErrorHandler.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,6 @@ public function reset()
108108
*/
109109
public function printErrorSummary()
110110
{
111-
112111
if (is_array(array_keys($this->errors))) {
113112
foreach (array_keys($this->errors) as $type) {
114113
$totalErrors = count($this->getErrorsByType($type));
@@ -126,7 +125,7 @@ public function printErrorSummary()
126125
. strval($totalNotGenErrors)
127126
. ' '
128127
. ucfirst($type)
129-
. " failed to generate"
128+
. " failed to generate. See mftf.log for details."
130129
);
131130
}
132131
if ($totalAnnotationErrors > 0) {
@@ -136,7 +135,7 @@ public function printErrorSummary()
136135
. strval($totalAnnotationErrors)
137136
. ' '
138137
. ucfirst($type)
139-
. " generated with annotation errors"
138+
. " generated with annotation errors. See mftf.log for details."
140139
);
141140
}
142141
}

0 commit comments

Comments
 (0)