Skip to content

Attempted Automatic Integration Testing Via Jasmine Jquery and Karma

Metalgearay edited this page Dec 1, 2016 · 1 revision

The original intent to automate our integration tests via Jasmine-jquery but we ran into a problem where we could not load html files through LoadFixtures to run tests on them. We learned that Jasmine-jquery was often paired with Karma which allows tests to be ran through the browser and thus actual give us access to the html. However we learned that require could be used on the browser unless we used browserify. Once installed, it still caused problems as mongoose itself cannot readily be bundled and thus after a certain point it was better to use manual testing until we had more time to actually throughly explore this side of testing.

Clone this wiki locally