Re: Style question

2004-05-25 Thread stevan little
Francisco, Personally I like to have tests that depend upon one another in a single file. However, that is not always possible or easy to do. In your case though, I would suggest you use mock objects for your database instead of a real database. This would allow your tests to be run independent

Re: Style question

2004-05-25 Thread Paul Johnson
On Tue, May 25, 2004 at 07:58:21PM +0200, Francisco Olarte Sanz. wrote: > 1st of all, thanks everyone for the prompt response regarding my > previous question about return values. > > Now a style question. I'm doing a database oriented module, and I have > rouhly the following tests: > > 1.- Tes

Re: Style question

2004-05-25 Thread Ricardo SIGNES
* "Francisco Olarte Sanz." <[EMAIL PROTECTED]> [2004-05-25T13:58:21] > ? Which aproach is better, have a single independent huge test file or > several interdependent smaller ones ( w/ notes in the readme stating > test dependence ) ? The better approach is the one that makes it most likely for yo