Entries Tagged as 'Uncategorized'

<angular/>: A Radically Different Way of Building AJAX Apps

July 29th, 2010 · 1 Comment

source snippets

Tags: Uncategorized

How JavaScript Works

July 14th, 2010 · 7 Comments

Just a quick presentation I have done on JavaScript.
video:

slides:

Tags: Uncategorized

Dependency-Injection and JavaScript closures

May 29th, 2010 · 12 Comments

As you can tell I am a big fan of DI, but I kept hearing that DI is not needed with dynamic languages, so after using JS for many months I am happy to say that DI is important there as well. In other words dependency managment and controll matters. But it is different.
Say you [...]

Tags: Uncategorized

Do it Yourself – Dependency Injection

May 26th, 2010 · 11 Comments

A friend of mine has put together a set of documents which talk about do-it-yourself dependency-inject. Being that I am a fan of DI and how it helps with testability I wanted to share it with you. It is a good read for anyone interested in getting better at DI.
by Chad Parry
I want to evangelize [...]

Tags: Uncategorized

Move over Java, I have fallen in love with JavaScript

April 7th, 2010 · 36 Comments

I spent the past year developing <angular/> in JavaScript (client) and Ruby on the server, and I have totally changed my opinion of dynamic languages, and I wanted to share some thought with you.
Tests are a must
Compilers are great at telling you that you have miss-typed something or that you assumptions about classes are wrong, [...]

Tags: Uncategorized

Growing Object-Oriented Software, Guided by Tests

January 6th, 2010 · 7 Comments

Recently I have came across an excellent book on how to develop code with testing in mind, and I wanted to share it with you. The book is called Growing Object-Oriented Software, Guided by Tests and is written by Steve Freeman and Nat Pryce.
The book starts right at the beggining as to why we want [...]

Tags: Uncategorized

There are lots of ways to tests your JavaScript, but there is only one JsTestDriver

December 4th, 2009 · 8 Comments

Difference between JsTestDriver and other testing solution is the difference between flying economy and flying First Class. If you are serious about testing and TDD, than JsTestDriver is for you.
It is not another Assertion Framework
JsTestDriver as the name suggest, is not another assertion framework, but rather test runner. It can easily integrate with other assertion [...]

Tags: Uncategorized

DZone Interview – Benefits of Testable Code

November 18th, 2009 · 3 Comments

http://java.dzone.com/articles/benefits-testable-code

Tags: Uncategorized

How to get Started with TDD

November 17th, 2009 · 25 Comments

Best way to learn TDD is to have someone show you while pairing with you. Short of that, I have set up an eclipse project for you where you can give it a try:

hg clone https://bitbucket.org/misko/misko-hevery-blog/
Open project blog/tdd/01_Calculator in Eclipse.
It should be set up to run all tests every time you modify a file.

You may [...]

Tags: Uncategorized

GTAC 2009 – JsTestDriver

November 6th, 2009 · 2 Comments

Google Tech Talk
October 22, 2009
ABSTRACT
Presented by Jeremie Lenfant -Engelmann, Google, at the 4th Annual Google Test Automation Conference, October 21st, 22nd, 2009, Zurich, CH
The proliferation of JavaScript unit-testing frameworks in the JavaScript community shows that no one has yet found the magical combination of features to make JavaScript testing a no-brainer. We like to believe [...]

Tags: Uncategorized