testdouble / grunt-jasmine-bundle

A "spec" grunt task for Jasmine that includes a standard pack of helpers (jasmine-given, jasmine-stealth, jasmine-only). Uses minijasminenode.
6 stars 4 forks source link

Include SandboxedModule #7

Closed jasonkarns closed 10 years ago

jasonkarns commented 10 years ago

SandboxedModule seems to be a pretty solid utility for stubbing/mocking/spying require() calls in the units under test.

Perhaps it should come along with the bundle?

searls commented 10 years ago

I'm only including stuff in the bundle that needs to globally patch jasmine before jasmine test execution begins. So far that's just global-wrecking jasmine helpers and coffeescript

On Tue, Feb 11, 2014 at 11:34 AM, Jason Karns notifications@github.com wrote:

SandboxedModule seems to be a pretty solid utility for stubbing/mocking/spying require() calls in the units under test.

Perhaps it should come along with the bundle?

Reply to this email directly or view it on GitHub: https://github.com/testdouble/grunt-jasmine-bundle/issues/7

jasonkarns commented 10 years ago

Ah, that makes sense. I thought the goal was generally an opinionated bundle for getting up and running quickly.