From 4e64045cd9297cc1d5b9529400aa9cc111765da8 Mon Sep 17 00:00:00 2001 From: Gavin Pickin Date: Wed, 4 Oct 2023 15:14:06 -0700 Subject: [PATCH 1/3] Update the repo in box.json --- box.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/box.json b/box.json index 7d58c54..9bebf1b 100644 --- a/box.json +++ b/box.json @@ -5,12 +5,12 @@ "slug":"testbox-cli", "author":"Ortus Solutions, Corp", "homepage":"https://www.forgebox.io/view/testbox-cli", - "documentation":"https://github.com/commandbox-modules/wiki", + "documentation":"https://github.com/Ortus-Solutions/testbox-cli/wiki", "repository":{ "type":"git", - "url":"https://github.com/commandbox-modules/testbox-cli" + "url":"https://github.com/Ortus-Solutions/testbox-cli" }, - "bugs":"https://github.com/commandbox-modules/testbox-cli/issues", + "bugs":"https://github.com/Ortus-Solutions/testbox-cli/issues", "shortDescription":"The TestBox CLI will assist you with running, reporting and generating tests", "type":"commandbox-modules", "keywords":[], From c8c5dd9c0fb2d9a8d911df2da230f5a71da38bd9 Mon Sep 17 00:00:00 2001 From: Gavin Pickin Date: Wed, 4 Oct 2023 15:17:57 -0700 Subject: [PATCH 2/3] Ensure we set color to entire tests --- models/CLIRenderer.cfc | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/models/CLIRenderer.cfc b/models/CLIRenderer.cfc index fdac001..7cfe7fc 100644 --- a/models/CLIRenderer.cfc +++ b/models/CLIRenderer.cfc @@ -142,6 +142,12 @@ component { } } + var thisColor = getAggregatedColor( + arguments.testData.totalError, + arguments.testData.totalFail, + 0 + ); + // Print Summary // cfformat-ignore-start arguments.print From bfe756367b874095242a277456d437e47e882545 Mon Sep 17 00:00:00 2001 From: gpickin Date: Thu, 5 Oct 2023 00:11:50 -0700 Subject: [PATCH 3/3] formatting --- models/CLIRenderer.cfc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/models/CLIRenderer.cfc b/models/CLIRenderer.cfc index 7cfe7fc..b8cd486 100644 --- a/models/CLIRenderer.cfc +++ b/models/CLIRenderer.cfc @@ -147,7 +147,7 @@ component { arguments.testData.totalFail, 0 ); - + // Print Summary // cfformat-ignore-start arguments.print