In our last post, we created a ViewModel which models the basic functionality we would like on the page. As a reminder, we have a Knockout “observable array” of items suitable for binding; each item is a JavaScript object containing a title and description in addition to a value called complete which indicates if this … Continue reading
Tag Archives: karma-runner
Test Driven Development with KnockoutJS, VisualStudio, and Karma
I’m giving a presentation on KnockoutJS and TDD at DevTeach in Toronto on Wednesday. I’ll be doing a live code demo, which is always exciting (at least for the presenter). I thought I’d write a quick article recording the steps I go through as part of the demo. Legacy Code Legacy Code, according to my … Continue reading
Test Driven Development with KnockoutJS, VisualStudio, and Karma: Live Demo
I’m giving a presentation on KnockoutJS, Karma-Runner, and TDD at DevTeach in Toronto on Wednesday. I’ll be doing a live code demo, which is always exciting (at least for the presenter). Here’s a screen grab of me practicing the live code demo. Topics covered: Creating project in VisualStudio, adding knockout and jasmine via nuget Setting … Continue reading