Skip to content

Commit 565ad37

Browse files
authored
Merge pull request #165 from Ortus-Solutions/development
v6.2.0
2 parents 3bfb991 + cfae23d commit 565ad37

22 files changed

Lines changed: 174 additions & 118 deletions

.github/workflows/release.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,16 @@ on:
1717
default: false
1818
type: boolean
1919

20+
# Manual Trigger for manual releases
21+
workflow_dispatch:
22+
2023
env:
2124
SNAPSHOT: ${{ inputs.snapshot || false }}
2225

2326
jobs:
2427
build:
2528
name: Build & Publish Release
26-
runs-on: ubuntu-20.04
29+
runs-on: ubuntu-latest
2730
steps:
2831
- name: Checkout Repository
2932
uses: actions/checkout@v4
@@ -32,7 +35,7 @@ jobs:
3235
uses: actions/setup-java@v4
3336
with:
3437
distribution: "temurin"
35-
java-version: "11"
38+
java-version: "17"
3639

3740
- name: Setup CommandBox
3841
uses: Ortus-Solutions/setup-commandbox@v2.0.1
@@ -50,6 +53,7 @@ jobs:
5053
if [ $GITHUB_REF == 'refs/heads/development' ]
5154
then
5255
echo "BRANCH=development" >> $GITHUB_ENV
56+
echo "TESTBOX_VERSION=${TESTBOX_VERSION}-snapshot" >> $GITHUB_ENV
5357
fi
5458
5559
- name: Update changelog [unreleased] with latest version

.github/workflows/snapshot.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,11 @@ on:
55
branches:
66
- development
77

8+
# Unique group name per workflow-branch/tag combo
9+
concurrency:
10+
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
11+
cancel-in-progress: true
12+
813
jobs:
914
#############################################
1015
# Tests First baby! We fail, no build :(

.github/workflows/tests.yml

Lines changed: 6 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -16,22 +16,15 @@ jobs:
1616
fail-fast: false
1717
matrix:
1818
commandbox_version: [ "6.1.0" ]
19-
cfengine: [ "lucee@5", "lucee@6", "adobe@2021", "adobe@2023" ]
20-
jdkVersion: [ "11" ]
21-
experimental: [false]
19+
cfengine: [ "boxlang@1", "boxlang-cfml@1", "lucee@5", "lucee@6", "adobe@2023" ]
20+
jdkVersion: [ "21" ]
21+
experimental: [ false ]
2222
include:
23-
- cfengine: "boxlang@1"
23+
# Old Supported One
24+
- cfengine: "adobe@2021"
2425
commandbox_version: "6.1.0"
25-
jdkVersion: "21"
26+
jdkVersion: "11"
2627
experimental: false
27-
- cfengine: "lucee@6"
28-
commandbox_version: "6.1.0"
29-
jdkVersion: "21"
30-
experimental: true
31-
- cfengine: "adobe@2023"
32-
commandbox_version: "6.1.0"
33-
jdkVersion: "21"
34-
experimental: true
3528
steps:
3629
- name: Checkout Repository
3730
uses: actions/checkout@v4

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,3 +21,4 @@ build/build.number
2121
bx/testbox
2222
bx/grapher
2323
cfml/testbox
24+
tests/coverageReport.json

Application.cfc

Lines changed: 0 additions & 12 deletions
This file was deleted.

box.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name":"TestBox",
3-
"version":"6.1.0",
3+
"version":"6.2.0",
44
"location":"https://downloads.ortussolutions.com/ortussolutions/testbox/@build.version@/testbox-@build.version@.zip",
55
"author":"Ortus Solutions <info@ortussolutions.com>",
66
"slug":"testbox",

build/Build.cfc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ component{
150150
.params(
151151
path = "/#variables.projectBuildDir#/**",
152152
token = ( arguments.branch == "master" ? "@build.number@" : "+@build.number@" ),
153-
replacement = ( arguments.branch == "master" ? arguments.buildID : "-snapshot" )
153+
replacement = ( arguments.branch == "master" ? arguments.buildID : "" )
154154
)
155155
.run();
156156

readme.md

Lines changed: 32 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
<p align="center">
2-
<img src="https://www.ortussolutions.com/__media/testbox-185.png">
3-
<img src="https://www.ortussolutions.com/__media/mockbox-185.png">
2+
<img src="https://raw.githubusercontent.com/Ortus-Solutions/artwork/refs/heads/main/testbox/banners/testbox-site-banner.png" alt="TESTBOX"/>
43
</p>
54

65
<p align="center">
@@ -17,7 +16,36 @@
1716

1817
----
1918

20-
TestBox is a Behavior Driven Development (BDD) and Test Driven Development (TDD) framework for [BoxLang JVM Language](https://www.boxlang.io) and ColdFusion (CFML). It also includes mocking and stubbing capabilities via its internal MockBox library.
19+
> TestBox v6 Now Available: **[Read the announcement »](https://testbox.ortusbooks.com/readme/release-history/whats-new-with-6.0.0)**.
20+
21+
22+
TestBox is a Behavior Driven Development (BDD) and Test Driven Development (TDD) framework for [BoxLang JVM Language](https://www.boxlang.io) and ColdFusion (CFML). It also includes mocking and stubbing capabilities via its internal MockBox library. We also recommend you install the `testbox-cli` (https://www.forgebox.io/view/testbox-cli) package to leverage commandline test runners, test generations and watchers using CommandBox.
23+
24+
## Requirements
25+
26+
* BoxLang 1+
27+
* Lucee 5+
28+
* Adobe ColdFusion 2021+
29+
30+
## Installation
31+
32+
You can visit the TestBox documentation page to view all of its features and
33+
capabilities. To install TestBox just drop it in your web root as `/testbox` or
34+
create a mapping `/testbox` that points to it.
35+
36+
You can also use [CommandBox](https://www.ortussolutions.com/products/commandbox) to install and leverage TestBox for commandline executions, test generations, watchers and much more:
37+
38+
### Stable Release
39+
40+
```bash
41+
box install testbox-cli testbox
42+
```
43+
44+
### Bleeding Edge Release
45+
46+
`box install testbox@be`
47+
48+
Bleeding edge builds are updated automatically as code is committed.
2149

2250
## License
2351

@@ -66,32 +94,9 @@ Join us in our Ortus Community and become a valuable member of this project [Tes
6694

6795
### Official Site
6896

97+
* https://www.testbox.run
6998
* https://www.ortussolutions.com/products/testbox
7099

71-
## Requirements
72-
73-
* BoxLang 1+
74-
* Lucee 5+
75-
* Adobe ColdFusion 2021+
76-
77-
## Installation
78-
79-
You can visit the TestBox documentation page to view all of its features and
80-
capabilities. To install TestBox just drop it in your web root as `/testbox` or
81-
create a mapping `/testbox` that points to it.
82-
83-
You can also use [CommandBox](https://www.ortussolutions.com/products/commandbox) to install and leverage TestBox for commandline executions, test generations, watchers and much more:
84-
85-
### Stable Release
86-
87-
`box install testbox`
88-
89-
### Bleeding Edge Release
90-
91-
`box install testbox@be`
92-
93-
Bleeding edge builds are updated automatically as code is committed.
94-
95100
----
96101

97102
### HONOR GOES TO GOD ABOVE ALL

server-boxlang-cfml@1.json

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
{
2+
"name":"testbox-boxlang",
3+
"force":true,
4+
"openBrowser":false,
5+
"web":{
6+
"directoryBrowsing":true,
7+
"http":{
8+
"port":"49616"
9+
}
10+
},
11+
"app":{
12+
"cfengine":"boxlang@be",
13+
"serverHomeDirectory":".engine/boxlang"
14+
},
15+
"JVM":{
16+
"javaVersion":"openjdk21_jre",
17+
"args": "-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=8888"
18+
},
19+
"cfconfig":{
20+
"file":".cfconfig.json"
21+
},
22+
"env":{
23+
"BOXLANG_DEBUG":true
24+
},
25+
"scripts":{
26+
"onServerInitialInstall":"install bx-compat-cfml"
27+
}
28+
}

server-boxlang@1.json

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
2-
"name":"testbox-boxlang",
3-
"force":true,
4-
"openBrowser":false,
5-
"web":{
2+
"name":"testbox-boxlang",
3+
"force":true,
4+
"openBrowser":false,
5+
"web":{
66
"directoryBrowsing":true,
77
"http":{
88
"port":"49616"
@@ -14,15 +14,13 @@
1414
},
1515
"JVM":{
1616
"javaVersion":"openjdk21_jre",
17-
"args": "-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=8888"
17+
"args":"-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=8888"
1818
},
1919
"cfconfig":{
2020
"file":".cfconfig.json"
2121
},
2222
"env":{
2323
"BOXLANG_DEBUG":true
2424
},
25-
"scripts":{
26-
"onServerInitialInstall":"install bx-compat-cfml,bx-unsafe-evaluate"
27-
}
25+
"scripts":{}
2826
}

0 commit comments

Comments
 (0)