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

View File

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