Re: [TFUI] Test Driven Wizardry

Phlip <[email protected]> Fri, 22 Jul 2005 07:25:58 -0700
Newsgroups gmane.comp.programming.test-first-user-interfaces
Message-ID <[email protected]>
Thomas Eyde wrote:

> I think your connection is opened exclusively. I have experienced
> similar situations when I use ADO against the database, but I opened
> it in Access first and left it running.

One '69 Camaro has answered how to share the connection, on USENET.

I guess this breaks my perfect record of unanswerable questions!

But I'm using DAO, not ADO, because it's closer to Access.

> I guess you don't have the choice to make all the gui in VB and leave
> Access with just the data?

Build don't buy?

We are TDDers! We can do anything!

Bayley, Alistair wrote:

> Why are you TDD'ing against a "golden copy" of the
> database?

Because I'm still experimenting how to layer things and what to call
things. Of course the untransacted database isn't the shops "golden"
version.

> IMO you'd be
> better off working against an empty database, where
> you wouldn't be
> restricted to performing tests inside a single
> transaction and rolling back.

I suspect transactions are faster. (That's true for SQLite, for example.)

I'm aware premature optimization is bad. The _default_ for TDD on a
database should be one transaction per case, for Test Isolation.

> Then again, the restriction/discipline of
> single-transaction-per-test might
> lead you to better design... but that's a thought
> for a different list.

The TFUI side of this issue is going to become persnickety. After the
test rig is going, I expect to Test-First those magic built-in forms
inside Access.

-- 
  Phlip
  http://www.c2.com/cgi/wiki?ZeekLand


To unsubscribe, email:
TestFirstUserInterfaces-unsubscribe-hHKSG33TihhbjbujkaE4pw@public.gmane.org
 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/TestFirstUserInterfaces/

<*> To unsubscribe from this group, send an email to:
    TestFirstUserInterfaces-unsubscribe-hHKSG33TihhbjbujkaE4pw@public.gmane.org

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/