At runtime, TestBox will also decorate your bundle CFC with tons of methods to help you in your testing adventures. Depending on your testing style you will leverage some more than others. For the latest methods please visit the API Docs for more information.
// quick assertion methodsassert( expression, [message] )fail(message)​// bdd methodsbeforeEach( body )afterEach( body )describe( title, body, labels, asyncAll, skip )xdescribe( title, body, labels, asyncAll )it( title, body, labels, skip )xit( title, body, labels )expect( actual )​// extensionsaddMatchers( matchers )addAssertions( assertions )​// runnersrunRemote( testSpecs, testSuites, deubg, reporter );​// utility methodsconsole( var, top )debug( var, deepCopy, label, top )clearDebugBuffer()getDebugBuffer()print( message )printLn( message )​// mocking methodsmakePublic( target, method, newName )querySim( queryData )getmockBox( generationPath )createEmptyMock( className, object, callLogging )createMock( className, object, clearMethods, callLogging )prepareMock( object, callLogging )createStub( callLogging, extends, implements )getProperty( target, name, scope, defaultValue )