* Vincent Tence <[EMAIL PROTECTED]> [2003-10-30 11:26]: > I second that as well. Good design + proper use of mock objects > solve almost 100% of the needs for external dependencies on the > unit tests, whether test files or environment dependencies such as > the need to have a DB running. Keep in mind that the easiest and > the fastest it is to run the unit tests, the more you'll run them. > And it is definitly easier to run a test without external > dependencies, since you remove the risk of having your test fail > because of invalid or missing resources. > > Of course this only applies to unit tests. Integration tests and > acceptance tests are another story.
Sound argument. Are you suggesting then that a distinction be made between unit, integeration, and acceptence tests in the project directory structure? -- Alain Javier Guarnieri del Gesu - [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]