Blog

ColdBox Unit Testing your Event Handlers!!

Luis Majano October 15, 2008

Spread the word

Luis Majano

October 15, 2008

Spread the word


Share your thoughts

With the advent of ColdBox 2.0.1 you are now able to unit test your event handlers, plugins, etc. I just completed a step by step guide on how to do this with the provided source in the bundle. Another interesting note is that the ColdBox Dashboard generates applications for you and yes, it also generates the unit tests for it. Unit Testing Handlers Guide So click on the link above to start unit testing your handlers.

Add Your Comment

(2)

Jun 01, 2007 17:59:02 UTC

by Adam Fortuna

This is extremely cool Luis. Brian was mentioning it the other day and sounds like a great step. Good work man!

May 15, 2019 13:43:00 UTC

by René Hochstrasser

Link does not work.

Recent Entries

BoxLang AI 3.4.0: Gateways, Human-in-the-Loop, and a Full Security Stack

BoxLang AI 3.4.0: Gateways, Human-in-the-Loop, and a Full Security Stack

BoxLang AI 3.4.0 is one of the biggest releases in the module's history, and it is built around a single theme: trust. Every agent you ship eventually needs a human to step in, and every agent that reads untrusted content is a target for prompt injection. This release gives you both a proper answer.

Luis Majano
Luis Majano
September 01, 2026