Hi,

On Fri, Jun 18, 2010 at 12:36 PM, Henri Bergius <[email protected]> wrote:
> In this case the Midgard MVC unit test setup might be possible to
> adapt to your use:

I just refactored Midgard MVC's PHPUnit test harness a bit. Basically
your application would need something similar to
http://github.com/midgardproject/midgardmvc_core/blob/master/tests/midgard.php

...then just write your PHPUnit testcases inheriting from that class.

Note that this version uses the methods for opening a Midgard
connection that are present from Midgard 8.09 onwards (and in
Midgard2), so they need to be rewritten to use the classic Midgard
connection API.

-- 
Henri Bergius
Motorcycle Adventures and Free Software
http://bergie.iki.fi/

Skype: henribergius
Jabber: [email protected]
Microblog: http://www.qaiku.com/home/bergie/
_______________________________________________
user mailing list
[email protected]
http://lists.midgard-project.org/mailman/listinfo/user

Reply via email to