Screen%20region%202014-09-18%20at%2017.37.07_large

Avishaan Sethi

Use Multiple Values for a Single Jasmine Suite

An alternative to npm libraries like 'jasmine-where' and full blown data provider pattern.

Often, we want to reuse the test suites and encompassing assertions when writing out test cases but want to input different values. Currently, jasmine doesn't provide any kind of pattern for doing so. If you don't want to use another 3rd party library, such as 'jasmine-where', there is a relatively easy way to do so below. In . . .

Read More

October 29, 2014

Archive