NBOCampbellToets / CampbellSoup

CampbellSoup, the web-based archive of Campbell test questions.
0 stars 1 forks source link

Only test changed sources with grunt-contrib-jasmine #1

Open jgonggrijp opened 7 years ago

jgonggrijp commented 7 years ago

A negative side effect of using grunt-contrib-jasmine with RequireJS is that it prevents grunt-newer from having any effect. So all the Jasmine tests have to be rerun every time you change a single .coffee source file.

I tried writing my own workaround in the feature/test-changed-only branch based on the grunt-contrib-watch documentation. It didn't work because of the debounce delay; see the commit message.

Right now the codebase is quite small, so this is a low priority wish, but having this enhancement will probably speed things up later on.