Share

CFUnit

File Release Notes and Changelog

Release Name: CFUnit 1.0

Notes:


Changes: v0.4 > Added method assertOutputs(): Asserts that a CFML Template (*.cfm file) or CFML Module outputs the expected results. Is if does not an AssertionFailedError is thrown with the given message. > Added method generateOutputs(): Asserts that two objects are equal. If they are not an AssertionFailedError is thrown with the given message. v0.4.1 > Added argument 'ignore' to method assertOutputs(): A collection of regular expressions for text to ignore in both the 'expected' and the 'actual' outputs. v0.4.2 > Fixed bugs in TestCase.runTest(), caused when a test method is not public or not found > Fixed bug in TestCase.getName(), caused when name is not yet defined > New method in TestRunner named qrun, used for a quick test run which only returns success/failure status > Updated TestRunner.run() with CSS styled outputs, which can be disabled with the optional argument "styled" > Updated TestRunner.run() so that it will now run the suite() methods form a TestCase if one is specified v0.5 > [ 1325800 ] Trim generated messages > [ 1320420 ] Add assertSame() method > [ 1320380 ] Improve logic in assertEquals() for components > [ 1347871 ] Make test self executing v0.5.2/v0.5.1 > New TestRunner design, bug fixes, clean up (Contributer: Mark Mandel) > Fixed bug in TestResult, use "addFailure()" vs "addError()" (Contributer: Paul Kenney) > Fixed bug in TestSuite.testAt(), typo ARGUMENTS as "ARGUEMNTS" (Contributer: Paul Kenney) > Fixed bug with comparing numbers (Contributer: Mark Mandel) v1.0 > Added SQL Exception details to TestRunner > Corrected local variables that were not var scoped > Added VarScopeChecker to prevent future omissions of var scopes > Added basic asserts (assertFalseBasic, assertEqualsBasic, ...) to TestCaseExtra (Contributer: Mark Mandel) > Add core runner files to "core" folder