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




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)!