At 04:57 PM 09/01/02, you wrote:
>I'm thinking of writing a new task, and would like some input on the
>design. The task would wrap Sybase BCP in order to copy controlled test
>data into a database table, while preserving the data that was in the
>table to be restored later. This way, multiple developers can share a
>single development database without so much headache during testing.
>...
>Does anyone else have a use for something like this? I'm basically
>planning to use it as an adjunct to Junit tests. BCP is a Sybase utility,
>and i don't know what equivalents there are for Oracle and what not - if
>it can be done in a cross-platform manner, i should be thinking of that,
>and not getting too proprietary.
Can't you use mock objects to simulate the database for testing? While it's
not exactly the same, I'm not sure how reliable this writing to and sharing
of a database would be.
That said, I don't think it would be too difficult to do.
--
* Jim Cheesman *
Trabajo:
[EMAIL PROTECTED] - (34)(91) 724 9200 x 2360
If a pig loses its
voice is it disgruntled?
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>