that way we make sure all methods have specs and that they are being tested properly (will be good for pull requests).
the main issue is that to make the tests work on node.js (#110) we need to load the specs using r.js and that breaks the way yahoo/istabul works (they add some hooks to the node.js native require) - will probably need to add a pretest command to instrument all modules and write them to a temp folder (or save as *-inst.js) before running the tests.
will investigate how istanbul works, maybe we can monkey-patch it to support RequireJS.
that way we make sure all methods have specs and that they are being tested properly (will be good for pull requests).
the main issue is that to make the tests work on node.js (#110) we need to load the specs using
r.js
and that breaks the way yahoo/istabul works (they add some hooks to the node.js nativerequire
) - will probably need to add a pretest command to instrument all modules and write them to a temp folder (or save as*-inst.js
) before running the tests.will investigate how istanbul works, maybe we can monkey-patch it to support RequireJS.