Re: Decouple SQL queries from class in OOP design
- From: Robert C. Martin <unclebob@xxxxxxxxxxxxxxxx>
- Date: Fri, 25 Nov 2005 10:01:50 -0600
On 12 Nov 2005 22:22:01 -0800, "frebe"
<fredrik_bertilsson@xxxxxxxxxxx> wrote:
>> Test data is all in memory - not stored in any file format.
>
>I assume the test data has to survive a system restart, so in some way
>they need to be in some file format.
Typicality in FitNesse pages, or Unit test constants. Sometimes it
will be in some XML test-configuration file, or some binary image file
that gets loaded by the tests.
One of the goals of testing is to keep your test data under control at
all times. One of the keys to doing this is to keep the test data as
small and focussed as possible. Therefore, instead of having one
large test database that you run all your tests on, you have many tiny
little sets of test data.
-----
Robert C. Martin (Uncle Bob) | email: unclebob@xxxxxxxxxxxxxxxx
Object Mentor Inc. | blog: www.butunclebob.com
The Agile Transition Experts | web: www.objectmentor.com
800-338-6716
"The aim of science is not to open the door to infinite wisdom,
but to set a limit to infinite error."
-- Bertolt Brecht, Life of Galileo
.
- References:
- Decouple SQL queries from class in OOP design
- From: Hongyu
- Re: Decouple SQL queries from class in OOP design
- From: H. S. Lahman
- Re: Decouple SQL queries from class in OOP design
- From: Hongyu
- Re: Decouple SQL queries from class in OOP design
- From: Phlip
- Re: Decouple SQL queries from class in OOP design
- From: frebe
- Re: Decouple SQL queries from class in OOP design
- From: Andrew McDonagh
- Re: Decouple SQL queries from class in OOP design
- From: frebe
- Re: Decouple SQL queries from class in OOP design
- From: Andrew McDonagh
- Re: Decouple SQL queries from class in OOP design
- From: frebe
- Decouple SQL queries from class in OOP design
- Prev by Date: Re: Decouple SQL queries from class in OOP design
- Next by Date: Re: About Call Graph
- Previous by thread: Re: Decouple SQL queries from class in OOP design
- Next by thread: Re: Decouple SQL queries from class in OOP design
- Index(es):
Relevant Pages
|