Hacker News new | ask | show | jobs
by barnaby 5381 days ago
I'm looking to branch out after having used qUnit for the last year or so. Looks like this framework does mocking REALLY well (which I feel like I can't do well in qUnit). But it's v8 specific, so I can't test if Internet Exploder won't screw up my script.

Would anybody recommend any other unit-test frameworks for mocking stuff out?

1 comments

There's also a fantastic tool for running those tests headlessly with jasmine-headless-webkit[0]. The benefit is that you can, if you so desire, test against the DOM as there is a complete browser in the background.

[0] http://johnbintz.github.com/jasmine-headless-webkit/

Ah, interesting.

If headless is not what you want, js-test-driver[1] looks promising. It has adapters for jasmine too.

1. http://code.google.com/p/js-test-driver/