Re: Coldbox - mxunit testing database interaction

2009-05-12 Thread Jake Pilgrim
Thanks for the response Matt. I'll repost this there. In the meantime for anyone else viewing this thread, what I'm struggling with is finding out if the save occurred successfully. Maybe the answer is that I should be unit testing the model directly and ignoring this test within the handler's

Re: Coldbox - mxunit testing database interaction

2009-05-12 Thread Matt Quackenbush
Jake, I would highly recommend posting this question to the ColdBox and/or MXUnit groups (links below). You are almost guaranteed to get a much greater response from those than you will from CF-Talk. /0.02 I would offer a suggestion, but I'm honestly not exactly sure what you're trying to do,

Coldbox - mxunit testing database interaction

2009-05-12 Thread Jake Pilgrim
I'm just starting to get into Coldbox and I'm encountering some confusion as to how to *really* test my models and database interaction. So I have the following handler function which is fired upon form submission: var rc = arg