I just updated the previous unit testing guide over at the Trac site with a much more in depth overview of unit testing in ColdBox. It covers on how ColdBox does unit testing for your handlers, how you can create unit tests, unit test suites, how to integrate to Sean Corfields' cfcUnit facade to CFEclipse's CFUnit plugin and much more. In depth with Pictures, for those fellows that like pictures better than words!! Overall, in ColdBox you can create unit tests for your event handlers, which are your application's events. You can then test the entire application without rendering any HTML. This is the first time you can unit test you entire application via events and Coldbox is the first framework to bring it to you. This helps like you have no idea!! TEST TEST TEST!! No more excuses and if it weren't that easy, the ColdBox Dashboard, when you generate an application, it will also generate the unit tests for the application. So all you have to do is fill in the blank!! Come on, is that easy!! Give it a try!!
Blog
Recent Entries
Hands-On QA with BxPlaywright: From a User Workflow to a Browser Test
Join Tom Buettell for a one-hour BxPlaywright webinar. Using a simple to-do app, Tom will show how he decides what’s worth automating, tests whether a task survives a page reload, and uses a failing trace to tell a test issue from an application bug.
BoxLang AI 3.8.0: OAuth for MCP, and Memory That Knows Who's Talking
Ortus Solutions today announces BoxLang AI 3.8.0, the release that makes multi-user AI applications a first-class citizen. Your agents can now sign in to OAuth-protected MCP servers on behalf of each person who talks to them, and every memory type keeps each user and conversation apart. Provider settings finally behave the way the docs always said, and a batch of MCP server fixes lands with it.
BoxLang ORM 2.0 and cborm 6: Hibernate 7 Dynamically Supercharged
🎉 The biggest release in the history of BoxLang's ORM is here. BxORM 2.0 leaps from Hibernate 5.6 straight to Hibernate ORM 7.4, and cborm 6 lands with it, rebuilt on the new engine.
Add Your Comment