php - database restore for integration tests with phpunit -
i'm using phpunit , i'd know if there correct form restoring database before running integration tests. @ moment i'm calling sql server script php exec() on testcase setup method, don't know if best choice
class testcase extends phpunit_framework_testcase { protected function setup() { exec("the restore command line"); } }
is there more correct form that?
thank you
this dbunit about. have looked @ it?
Comments
Post a Comment