> I've used search :)
> Here is a point.
> Let say I need to do 2 tests;
> In test1 i insert some data into clients table. And in test2 I need
> to insert data into accounts table using Id that i've recieved in
> And it is on the beginning. There will be tests that need about 6
> other test's results...
> What am I supposed to do?
Each test needs its own data to be isolated, so the obvious solution is
to do this for each test:
After a while, you notice that that makes the tests quite slow, which is
likely where you are now.
Google "unit testing databases" and look for an article by Richard
Dallaway, then read it. After that, if you have more specific questions,
come back and ask them.
J. B. Rainsberger,
Diaspar Software Services
:: +1 416 791-8603
Let's write software that people understand