I wrote a custom template toolkit plugin and was looking for the best way to
write the unit tests for it.

 

Does anyone have suggestions? Or a good example on the web somewhere. Google
was no help.

 

I looked at the unit test framework in Template::Test, but didn't find any
that use mocking which I need since my plugin loads data and I want to
replace that with a specific set in my plugin unit tests.

 

Any help would be appreciated.

 

Tom

_______________________________________________
templates mailing list
templates@template-toolkit.org
http://mail.template-toolkit.org/mailman/listinfo/templates

Reply via email to