Smock Is a straightforward mocking framework for nodejs and other commonJS-compliant runtimes. It's not got much documentation yet though.