Hi! On Wed, Jun 16, 2010 at 1:17 PM, Bouteille, Pierre-marie <[email protected]> wrote: > We need to use PHPUnit to perform unit test of our application that is using > Midgard. > > Basically we are facing problem due to file inclusion … Midgard manages > inclusion through midgard-root.php but when using PHPUnit we directly call > method …
I assume the application is using Midgard1 (versions up until Midgard 8.09 "Ragnaroek"). In Midgard2 we have a PHPunit test environment bundled with the system, but with Midgard1 it is unfortunately a bit trickier. Tarjei Huse was working on a unit testing environment for MidCOM in http://trac.midgard-project.org/browser/branches/thor/midcom/midcom.tests.base which might be possible to bring back to life. BTW, would be interesting to hear a bit more about your Midgard application :-) > Pierre-Marie /Henri -- 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
