Jeff
I tend to use a) above in Sean's email. Typically a create() will
return an id which is then used to retrieve the record - not only do I
test that the record has been saved but also so an assertxxx() method
for each field to ensure the fields are set correctly - the field
values are usually hardcoded as part of the test or I create a uuid
which is stored and compared later.
Kola
BLOG:http://coolskool.blog-city.com/
SKYPE:kola.oyedeji
----------------------------------------------------------
You are subscribed to cfcdev. To unsubscribe, send an email to [email protected] with the words 'unsubscribe cfcdev' as the subject of the email.
CFCDev is run by CFCZone (www.cfczone.org) and supported by CFXHosting (www.cfxhosting.com).
An archive of the CFCDev list is available at www.mail-archive.com/[email protected]
- [CFCDev] Unit Test for DAO Jeff Chastain
- [CFCDev] onRequestStart issues.... ? Callum McGillivray
- Re: [CFCDev] onRequestStart issues.... ? Sean Corfield
- Re: [CFCDev] Unit Test for DAO Sean Corfield
- Re: [CFCDev] Unit Test for DAO Paul Kenney
- Re: [CFCDev] Unit Test for DAO Kola Oyedeji
- Re: [CFCDev] Unit Test for DAO Jeff D . Chastain
- RE: [CFCDev] Unit Test for DAO Hugo Ahlenius
- Re: [CFCDev] Unit Test for DAO Paul Kenney
- Re: [CFCDev] Unit Test for DAO Robert Blackburn
- RE: [CFCDev] Unit Test for DAO John Farrar
- Re: [CFCDev] Unit Test for DAO Brian Kotek
- RE: [CFCDev] Unit Test for DA... Jeff Chastain
- Re: [CFCDev] Unit Test fo... Paul Kenney
- RE: [CFCDev] Unit Test fo... Jeff Chastain
- Re: [CFCDev] Unit Test fo... Brian Kotek
