I know... btw I don't trust in SQLite.If it is only a matter of pure
mappings its ok, but for queries (including inserts/updates) it is another
matter.

2009/6/15 Maik <[email protected]>

>
> Hello Fabio,
>
> first of all I want to test if the mappings I made work correctly with
> nhibernate. that is the key why I use an RDBMS.
>
> Otherwise I want to avoid writing mocks. With the RDBMS I can setup my
> testdata and work on this data.
> Because I have to test many different cases the "mockery" would be
> very difficult to understand.
>
> In our company the java developers use HSQLDB for their tests. I tried
> to adopt their testing method to the .NET world
>
>
> On 12 Jun., 16:46, Fabio Maulo <[email protected]> wrote:
> > I read this matter various times, to express my opinion I have two
> question:
> > How much accurate is your persistence test if, for test, you are using a
> > different RDBMS ?
> >
> > After test the persistence which is the reason to use a RDBMS if you can
> > mock your DAOs/Repository ?
> >
> > 2009/6/12 Maik <[email protected]>
> >
> >
> >
> >
> >
> > > Hello there,
> >
> > > I hope, that one of you could help me. I ran into some trouble in my
> > > unit tests.
> >
> > > This is the problem:
> > > In production environment we are using an Oracle database with
> > > multiple schemes and technical user accounts to acces these schemes
> > > with the dedicated rights only. We now want to  use nhibernate in
> > > our .Net WinForms Applications.
> >
> > > For the unit-tests I want to to use an SQLite database with :memory:
> > > and setup a corresponding datastructure to our production database
> > > during runtime. Now that we use multiple schemes, I'm not sure if
> > > sqlite can handle this.
> >
> > > Can someone give me a hint how to cope this problem.
> >
> > > Thanks in advance
> >
> > --
> > Fabio Maulo
> >
>


-- 
Fabio Maulo

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"nhusers" 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/nhusers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to