testing modules
laurelnaiad opened this issue · 0 comments
I was wondering how the team might be thinking about approaching the testing of modules (and I guess themes, too).
I poked and played around with testing contentTypes and so far the awkwardness of trying to load modules in the mocha tests has gotten in my way.
I know that for now, lib.core.module is just a stub -- and I suspect the goals of that file would be to test the Module.js file -- not individual modules.
So I guess my question is two-fold -- what to test in Module.js, and how to test modules (be they core or otherwise).
I realize this is a really open ended question, which is in fact why I'm asking it. I'm hoping to start a discussion about testability in general and what could be done to move the ball forward!