On Mon, Mar 8, 2010 at 2:16 PM, Naftoli Gugenheim <naftoli...@gmail.com>wrote:

> Not sure -- it sounded like you were describing a scenario with separate
> test files for each combination of area being tested and driver, where I was
> describing combining multiple areas in one file (like MapperSpecs is now).
> Maybe I misunderstood.
>

Both can go into one file.
The second one would have a file name of ItemUnderTest.scala while each
separate specs test could still follow the driver specific naming
convention.  The one that tests things that shouldn't care about driver
would be called ItemUnderTestSpecs.




>
> -------------------------------------
> Jim Barrows<jim.barr...@gmail.com> wrote:
>
> On Mon, Mar 8, 2010 at 1:59 PM, Naftoli Gugenheim <naftoli...@gmail.com
> >wrote:
>
> > Currently what I did is combine ItemListSpecs with another test, so I
> gave
> > it a more generic name than ItemsList, hence MapperSpecs2. The idea is
> that
> > some tests really have zero to do with the vendor, but higher-level
> > behavior. H2MemoryProvider is incidental--in memory databases are perfect
> > for testing. So I'd prefer not putting the choice of testing db in the
> name
> > of a driver-independent test.
> > If an ORM is a form of caching then these are cache-related specs.
> > If David vetoes the change on RB, a name is irrelevant; and depending on
> > his proposal it may be temporary; but I'm looking for a name that says
> "More
> > Mapper Specs except these specs are run on one arbitrary driver rather
> than
> > on all of them, because these specs are driver-independent by
> definition."
> >
>
> I'm curious how my naming proposal doesn't do that?  In a much more
> structured way?
>
>
> --
> James A Barrows
>
> --
> You received this message because you are subscribed to the Google Groups
> "Lift" group.
> To post to this group, send email to lift...@googlegroups.com.
> To unsubscribe from this group, send email to
> liftweb+unsubscr...@googlegroups.com<liftweb%2bunsubscr...@googlegroups.com>
> .
> For more options, visit this group at
> http://groups.google.com/group/liftweb?hl=en.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Lift" group.
> To post to this group, send email to lift...@googlegroups.com.
> To unsubscribe from this group, send email to
> liftweb+unsubscr...@googlegroups.com<liftweb%2bunsubscr...@googlegroups.com>
> .
> For more options, visit this group at
> http://groups.google.com/group/liftweb?hl=en.
>
>


-- 
James A Barrows

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

Reply via email to