xUnit
beforeTests()- Executes once before all tests for the entire test bundle CFCafterTests()- Executes once after all tests complete in the test bundle CFCsetup( currentMethod )- Executes before every single test case and receives the name of the actual testing methodteardown( currentMethod )- Executes after every single test case and receives the name of the actual testing method
component{
function beforeTests(){}
function afterTests(){}
function setup( currentMethod ){}
function teardown( currentMethod ){}
}Last updated
Was this helpful?