Graeme Geldenhuys wrote:

TestProject
   |
   + Non-db tests
   |  + Suite1
   |  + Suite2
   |
   + DB tests
      + Suite10
      + Suite11

"DB test" is a test decorator that sets up the DB connection. Suite10 and Suite11 both run by using the same connection which was setup before.

My test suite uses DUnit2 instead of FPCUnit, so the test decorators actually work as expected, and is executed only once for all tests under the decorator.


Regards,
  - Graeme -

--
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://opensoft.homeip.net/fpgui/

_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to