Today I switched to testbox 2.0.0 and noticed that compatibilty with CF9 is broken. The docs still claim CF 9.01 for xUnit.
Actually just a little thing …It’s in the assertation library Assertation.cfc at line 794
if( isCustomFunction( arguments.target ) or isClosure( arguments.target ) ){
throw( type=“InvalidType”, message=“You sent an invalid type for length checking (closure/function)” );
}
I removed “or isClosure( arguments.target )” because CF9 don’t know the “isClosure()” function… and it worked fine again.
Daniel