Under
I am just getting the unit testing. I have the integration tests where they seem to be working… what do I have to do to get this to work. I have tried several things and I keep getting errors. I cannot seem to get the object called… in the
component extends=“coldbox.system.testing.BaseTestCase” appMapping="/myapp"
{
// Test for getAll
public void function testGetAll()
{
obj = new model.tables.val_userType.val_userTypeService();
//obj = createObject(“component” ,“model.tables.val_userType.val_userTypeService()”); // model in folder /myapp/model/tables/val_userType/val_usertypeService.cfc
//this.mycomp = createObject(“component” ,“MyComponent”);
//var oUserType = populateModel(“val_userTypeService”);
//var userTypeList = rc.oUserType.getAll();
}
}