That's a GREAT question. It's something that's currently being tossed around in the FB side of things. We're running into places where it would be really nice to have unit tests, but we haven't built out any support for it yet. 

Have you explored any frameworks? I'd like to highlight @kennknowles on this.