I’ve finally gotten around to writing a blog post about VuFind 2 unit testing:

 

http://blog.library.villanova.edu/libtech/2013/01/29/a-simple-vufind-2-unit-test/

 

As I explain in the post, testing is often difficult at this stage of development (there’s still some more work to be done on better decoupling VuFind’s classes so that they can be tested independently), but hopefully this very simple example helps show some of the fundamentals.

 

I may try to do a follow-up demonstrating a more complex example in the future.

 

Let me know what you think (and whether you’re interested in trying your hand at test writing)!

 

thanks,

Demian