Would using the run mode to determine to set up a Derby or HSQL DB for test
purposes in your Boot class work? Usually I use this method combined with
DBUnit to load test data.

Derek

On Fri, Apr 17, 2009 at 3:43 PM, [email protected] <
[email protected]> wrote:

>
> Hi,
>
> I'm a little bit puzzled about the problem of mocking multiple models
> in one class.  My problem is following:
>
> I have a snippet that uses two models. To be able to test the snippet
> I would need to create Mock objects for both of those models and
> especially for the object part of the model (to able to mock those
> find, create etc. methods).
>
> Now I'm wondering how to actually do that in lift&scala.  I think my
> brain is still thinking too much in C++/Java because my old ways
> didn't really work :)
>
> Thanks beforehand for any help!
>
> - Erik
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Lift" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to