coldbox-testing-handler

Official

Test ColdBox handlers with isolation tests.

AuthorColdBox
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill enables developers to validate ColdBox event handlers and controllers by executing events, asserting outcomes, and verifying rendering behavior without requiring a full application load.

Core Features & Use Cases

  • Isolated handler unit tests using BaseHandlerTest to test handlers without a running ColdBox app
  • Integration-style tests using BaseTestCase to exercise handlers with a virtual ColdBox app
  • Assertions for rc/prc values, currentView, renderData, and relocation behavior after actions
  • Mocking and injection workflows to verify dependencies are wired correctly in handlers

Quick Start

Create a spec that executes a ColdBox event with execute(), set up mocks, and assert the handler's output, view, and relocation results.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: coldbox-testing-handler
Download link: https://github.com/ColdBox/skills/archive/main.zip#coldbox-testing-handler

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.