2009年12月13日星期日

[fw-mvc] Usage of PHPUnit

I'm curious about the typical usage for the DatabaseTestCase. Since you don't really need a front controller or application bootstrap, is the simplest usage to just require_once the necessary files, such as my Db_Table class files? Or do you load the Zend Autoloader to make things a little simpler? If so does anyone have an example of a minimalist bootstrap for DB test cases?

Also, is the typical usage just to run it from command line?

I'm fairly new to using these test tools, and Google is a little sparse on answers.

Regards,
Seth Atkins

没有评论: