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