Duck Angular A team I’m working with saw a gap when they were testing AngularJS apps: Functional regression, while necessary, didn’t provide fast enough feedback. Using unit testing techniques they could obviously test the JavaScript functions behind their Angular controllers, but that didn’t help them assert that bindings were correct or that directives actually manipulated … Continue reading
Tag Archives: JavaScript
The Next Wave
The Current Wave JavaScript was the “Next Wave” maybe two years ago. JavaScript is in your database. JavaScript is on the server. JavaScript is on the client. JavaScript is in your network transport. JavaScript is in your lisp. JavaScript is testable. The Next Wave I think the next wave is something functional, probably Clojure, for … Continue reading
Test Driven Development with KnockoutJS, VisualStudio, and Karma: Binding to the View
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
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
Testing with Angular’s E2E Testing Framework
Outdated content warning. The techniques in this article are now out of date. Google no longer supports the “E2E” testing framework. 7 Reasons to love Duck Angular covers a more modern approach to testing Angular applications. Note Special Collaboration This article is a special collaboration between Stephane Bisson, who developed the concept, the app, and … Continue reading
Knockoutjs on CDN? yes..
Originally posted on happy && coding:
Sometimes you just want to use a CDN for scripts, especially if you are working with cloud IDE’s and the like, similar to Cloud9 or Icenium. So one place that seems robust is Microsoft’s AJAX CDN network.
Resources for AngularJS Developers
One of the main complaints for AngularJS developers is that the documentation isn’t quite as rich as we’d like. I had the good fortune to talk to one of the members of the Angular team last night, and scribbled notes furiously. I’ve found each of the below valuable resources. Video Resources EggHead.io http://www.egghead.io has a … Continue reading
BreezeJS: TDD With Mocha and PhantomJS
I’m really interested in BreezeJS right now. It seems like a really promising new open source (MIT License) framework for helping you get data into your JavaScript applications, including single page applications (which are coming to be known by the acronym SPA). Breeze has lots of features. One to whet your appetite is the query … Continue reading
KnockoutJS and Testing
KnockoutJS is a JavaScript framework for making it easy to quickly create complex data based pages in browsers as old as IE6. It does this by though the use of a data-bind property for HTML elements like so: <input data-bind=”value: firstName” /> What the above data-bind will do is replace the value property of the … Continue reading