Skip to main content

All Questions

Filter by
Sorted by
Tagged with
3 votes
1 answer
905 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 ...
SBel's user avatar
  • 306
4 votes
1 answer
155 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. <...
user2202911's user avatar
4 votes
1 answer
560 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 ...
Sean Anderson's user avatar