Board Thread:Watercooler/@comment-24473195-20150708121810

Using Module:Scribuntounit and Module:UnitTests one can design a lot of basic tests to check that global modules at least handle data properly, and for example work well using {{#invoke:

Some of the basic tests would be ensuring that a global module can be accessible through invoke, and through a template:

Looping through the main function would provide the function names, and there could also be the possibility of adding extra tests containing valid input and output. 