Jasmine-Every

3/7/2013

I’ve created an add-on for Jasmine, that allows you to iterate a set of Jasmine tests or suites through an array of test data. So, you can create a set of edge cases for whatever you are are trying to test, and then run them through this.

It also lets you specify which test cases in your array you want to run, so that you can, say, walk through a specific test case, or set of cases.

Among other things, I’ve been using this to provide JSON to inflate backbone models and then examine DOM behaviour of attached views. I’ll write up how I’m doing this shortly.

Share this:
  • HackerNews
  • Reddit


Leave a Reply