Just output in the console the results for the integrations which ran

This commit is contained in:
Calixte Denizet 2026-02-27 17:16:20 +01:00 committed by calixteman
parent 5279646985
commit 6b3331f47b
No known key found for this signature in database
GPG Key ID: 0C5442631EE0691F
2 changed files with 12 additions and 0 deletions

View File

@ -53,6 +53,9 @@ async function runTests(results) {
jasmineStarted(suiteInfo) {},
specDone(result) {
// Report on the result of individual tests.
if (result.status === "excluded") {
return;
}
++results.runs;
if (result.failedExpectations.length > 0) {
++results.failures;
@ -63,6 +66,9 @@ async function runTests(results) {
},
specStarted(result) {},
suiteDone(result) {
if (result.status === "excluded") {
return;
}
// Report on the result of `afterAll` invocations.
if (result.failedExpectations.length > 0) {
++results.failures;

View File

@ -62,6 +62,9 @@ const TestReporter = function (browser) {
this.specStarted = function (result) {};
this.specDone = function (result) {
if (result.status === "excluded") {
return;
}
// Report on the result of individual tests.
if (result.failedExpectations.length === 0) {
sendResult("TEST-PASSED", result.description);
@ -75,6 +78,9 @@ const TestReporter = function (browser) {
};
this.suiteDone = function (result) {
if (result.status === "excluded") {
return;
}
// Report on the result of `afterAll` invocations.
if (result.failedExpectations.length > 0) {
let failedMessages = "";