zarro 1.110.2 → 1.112.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -166,6 +166,7 @@ function testWithNunitCli(configuration, source) {
|
|
|
166
166
|
async function testAsDotnetCore(configuration, testProjects) {
|
|
167
167
|
const
|
|
168
168
|
testResults = {
|
|
169
|
+
quackersEnabled: false,
|
|
169
170
|
passed: 0,
|
|
170
171
|
failed: 0,
|
|
171
172
|
skipped: 0,
|
|
@@ -204,13 +205,18 @@ async function testAsDotnetCore(configuration, testProjects) {
|
|
|
204
205
|
target = p;
|
|
205
206
|
chains[idx] = chains[idx].then(async () => {
|
|
206
207
|
debug(`${ idx } start test run: ${ target }`);
|
|
207
|
-
const result = testOneProject(target, configuration, verbosity, testResults, true);
|
|
208
|
+
const result = await testOneProject(target, configuration, verbosity, testResults, true);
|
|
208
209
|
testProcessResults.push(result);
|
|
209
210
|
return result;
|
|
210
211
|
});
|
|
211
212
|
}
|
|
212
213
|
await Promise.all(chains);
|
|
213
|
-
|
|
214
|
+
|
|
215
|
+
if (testResults.quackersEnabled) {
|
|
216
|
+
logOverallResults(testResults);
|
|
217
|
+
} else {
|
|
218
|
+
console.log("If you install Quackers.TestLogger into your test projects, you'll get a lot more info here!");
|
|
219
|
+
}
|
|
214
220
|
throwIfAnyFailed(testProcessResults);
|
|
215
221
|
}
|
|
216
222
|
|
|
@@ -319,6 +325,7 @@ async function testOneProject(
|
|
|
319
325
|
loggers = useQuackers
|
|
320
326
|
? generateQuackersLoggerConfig(target)
|
|
321
327
|
: generateBuiltinConsoleLoggerConfig();
|
|
328
|
+
testResults.quackersEnabled = testResults.quackersEnabled || useQuackers;
|
|
322
329
|
return await test({
|
|
323
330
|
target,
|
|
324
331
|
verbosity,
|