From b501ac4a51e34725ad062df376339d24efaf88c2 Mon Sep 17 00:00:00 2001 From: Github Actions Date: Fri, 18 Aug 2023 10:45:27 +0000 Subject: [PATCH 1/6] Version bump --- box.json | 2 +- changelog.md | 8 +++++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/box.json b/box.json index 619fa54..7d58c54 100644 --- a/box.json +++ b/box.json @@ -1,6 +1,6 @@ { "name":"TestBox CLI", - "version":"1.2.2", + "version":"1.3.0", "location":"https://downloads.ortussolutions.com/ortussolutions/commandbox-modules/testbox-cli/@build.version@/testbox-cli-@build.version@.zip", "slug":"testbox-cli", "author":"Ortus Solutions, Corp", diff --git a/changelog.md b/changelog.md index 27a9776..3c25ff7 100644 --- a/changelog.md +++ b/changelog.md @@ -9,10 +9,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [1.2.2] - 2023-08-18 + ### Fixed - More issues with the CLI Renderer +* * * + ## [1.2.1] - 2023-08-17 ### Fixed @@ -93,7 +97,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - New `testbox apidocs` command to open the TestBox API Docs in your browser. - Initial Creation of this project -[Unreleased]: https://github.com/Ortus-Solutions/testbox-cli/compare/v1.2.1...HEAD +[Unreleased]: https://github.com/Ortus-Solutions/testbox-cli/compare/v1.2.2...HEAD + +[1.2.2]: https://github.com/Ortus-Solutions/testbox-cli/compare/v1.2.1...v1.2.2 [1.2.1]: https://github.com/Ortus-Solutions/testbox-cli/compare/v1.2.0...v1.2.1 From 4e64045cd9297cc1d5b9529400aa9cc111765da8 Mon Sep 17 00:00:00 2001 From: Gavin Pickin Date: Wed, 4 Oct 2023 15:14:06 -0700 Subject: [PATCH 2/6] 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 3/6] 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 8c3a6149be7e51a6cd465b992dc75996290a43c6 Mon Sep 17 00:00:00 2001 From: Gavin Pickin Date: Wed, 4 Oct 2023 17:17:31 -0700 Subject: [PATCH 4/6] Add Runners to Test Browser --- templates/testbox/test-browser/index.cfm | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/templates/testbox/test-browser/index.cfm b/templates/testbox/test-browser/index.cfm index f7f8a69..76dd68e 100644 --- a/templates/testbox/test-browser/index.cfm +++ b/templates/testbox/test-browser/index.cfm @@ -76,6 +76,22 @@ + + +
+
+

Availble Test Runners:

+

+ Below is a listing of the runners matching the "runner*.cfm" pattern. +

+ + + + #runners.name# + +
+
+
From bfe756367b874095242a277456d437e47e882545 Mon Sep 17 00:00:00 2001 From: gpickin Date: Thu, 5 Oct 2023 00:11:50 -0700 Subject: [PATCH 5/6] 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 From 3736c2a9681162932a78624cb2a1bdef75e2ac83 Mon Sep 17 00:00:00 2001 From: Luis Majano Date: Thu, 5 Oct 2023 12:19:29 -0700 Subject: [PATCH 6/6] ### Added - New runners section on the test browser ### Fixed - Aggregated colors for failures and errors on tests results output. --- changelog.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/changelog.md b/changelog.md index 3c25ff7..964c919 100644 --- a/changelog.md +++ b/changelog.md @@ -9,6 +9,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +### Added + +- New runners section on the test browser + +### Fixed + +- Aggregated colors for failures and errors on tests results output. + ## [1.2.2] - 2023-08-18 ### Fixed