Unit testing require.js modules, with both stubbed and script-loaded dependencies. Compatible with all test frameworks - Jasmine, QUnit, JsTestDriver, Buster JS, etc.
159
stars
7
forks
source link
testr does not work with karma-requirejs an karma-jasmine #22
I'm acutally not 100% sure its related to Karma, but our tests work fine with just jasmine in the browsers. However, when combined with Karma-Jasmine adapter, testr always fails.
To stay DRY, here is the SO post I created to hopefully find a solution:
I confirm, switching back and forth between 1.3.2 and 1.0.2, testr failes in combination with Backbone using Karma runner. Unfortunately, this fallback then breaks the text plugin for requirejs.
I'm acutally not 100% sure its related to Karma, but our tests work fine with just jasmine in the browsers. However, when combined with Karma-Jasmine adapter, testr always fails.
To stay DRY, here is the SO post I created to hopefully find a solution:
http://stackoverflow.com/questions/23232532/how-to-use-testr-with-karma-jasmine-adapter