https://github.com/codewars/testbox-codewars
Custom TestBox reporter and runner for Codewars
https://github.com/codewars/testbox-codewars
cfml code-runner test-reporting test-runner testbox
Last synced: about 1 month ago
JSON representation
Custom TestBox reporter and runner for Codewars
- Host: GitHub
- URL: https://github.com/codewars/testbox-codewars
- Owner: codewars
- License: mit
- Created: 2020-01-31T02:21:09.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2020-02-14T20:43:09.000Z (about 6 years ago)
- Last Synced: 2025-08-21T08:52:25.695Z (7 months ago)
- Topics: cfml, code-runner, test-reporting, test-runner, testbox
- Language: ColdFusion
- Homepage:
- Size: 11.7 KB
- Stars: 5
- Watchers: 5
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
## testbox-codewars
- `CodewarsReporter.cfc`: Custom reporter for TestBox to produce Codewars format
- `TestRunner.cfm`: Runs TestBox tests and produces output for Codewars
- `CodewarsBaseSpec.cfc`: Base tests for CFML test bundles that captures spec-level debugging output
### Usage
Assumes you have CommandBox CLI installed and in your path:
https://commandbox.ortusbooks.com/setup/installation
Make sure TestBox is installed:
```bash
box install
```
To test locally, create a `Solution.cfc` and `SolutionTest.cfc` in the root dir.
Run the task runner with the following command:
```bash
box -clishellpath=/path/to/TestRunner.cfm
```