Skip to content
This repository has been archived by the owner on Jan 10, 2022. It is now read-only.

testing modules #240

Open
laurelnaiad opened this issue Oct 1, 2013 · 0 comments
Open

testing modules #240

laurelnaiad opened this issue Oct 1, 2013 · 0 comments

Comments

@laurelnaiad
Copy link
Contributor

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!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant