// latest stable version
box install testbox --saveDev
// latest bleeding edge
box install testbox@be --saveDev
Please note the
--saveDevflag, which tells CommandBox that TestBox is a development dependency and not a production dependency.
DO NOT USE TESTBOX IN PRODUCTION.
TestBox comes with its own CLI for CommandBox. You can use it to generate tests, harnesses, and suites and also run executions from the CLI.
You will now have the
testbox namesapce available to you, try it out
Once you install TestBox, you'll need a quick way to set up a testing harness. The
generate harnesscommand will add a new
/testsfolder to your application with a few example tests to get you started.
testbox generate harness
You can then run your tests by executing the
testbox runcommand or by visiting the runner in the generated harness:
- Lucee 5.x+
- ColdFusion 2018+
Now that you are installed, please set up your favorite IDE with our tooling: