The spies are functions called inside the modules, which will create additional reports.
Description
Description
Event Timeline
Comment Actions
Note that there are two different ideas for how spies should work. One is to attach them to public functions, and one is to write them out in the code itself.
If they are attached to public functions it could be possible to inspect running code without messing up production code.
It would not be a problem to have both? Inline in the lib it would be like
cluck('Some import message') mw.spy.cluck('Some important message')
while set up fom the tests it would be
cluck(foo).bar 'Some import message' mw.spy.cluck(foo).bar 'Some import message'
In this case foo would be a table and .bar an entry pointing to a function. The later is handled by __newindex, and will get the following string and stor it within a closure for a spy on the function.