All Questions
3 questions
3
votes
1
answer
906
views
Unit testing Backbone Model
I would like to hear other people's opinion on how I unit tested a functionality in a Backbone Model. As you see below, the code under test, upon being called to toggle, toggles its completed state ...
4
votes
1
answer
158
views
First ever unit test. Am I headed in the right direction?
I'm learning backbone.js in parallel with unit testing. I've just made a simple model and wanted to unit test it. Do I have the right idea? I am simply making a model with some default values.
<...
4
votes
1
answer
564
views
User model with BackboneJS and RequireJS with test cases in Jasmine
I've been taking a stab at implementing test cases using the Jasmine testing framework. To do so, I've made an application which has a User object. This User object is created by the server, but its ...