Entries Tagged as 'Uncategorized'

Growing Object-Oriented Software, Guided by Tests

January 6th, 2010 · 5 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 · 6 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 · 24 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

How To Write Hard To Test Code & What To Look For When Reviewing Other Peoples Hard To Test Code

October 28th, 2009 · 5 Comments

Here are my slides which Cory Smith and I have presented this morning at OOPSLA 2009.
The ability to write hard to test code is innate in every developer form the moment we have built our first “Hello World” application. It is so automatic that we do not even know when we are doing it. On [...]

Tags: Uncategorized

Automatic Dependency Injection In The Land Of Dynamic Languages

October 25th, 2009 · 4 Comments

Automatic Dependency Injection Frameworks (such as GUICE, PicoContainer, and Spring) are very popular in Java, where they depend heavily on static typing, interfaces, reflection and annotations. But what about languages such as ActionScript, JavaScript, Python and Ruby, where duck-typing and lack of run-time-type-information at first glance make these frameworks impossible? Can a simple Dependency Injection [...]

Tags: Uncategorized

Lowering the price of Web-Apps

October 18th, 2009 · 5 Comments

The old saying goes: Ideas are a dime a dozen, it’s the execution that counts.
So you are working on a project and all of a sudden you realize that it would be great to have a web-application which keeps track of something. It is exactly what would hit the spot, but than you think about [...]

Tags: Uncategorized

Design for Testability Talk

October 7th, 2009 · 12 Comments

Here is may latest presentation on design for testability…
Slides: Design For Testablity

Tags: Uncategorized

Sweet Spot for <angular/>

October 4th, 2009 · 2 Comments

Building web-applications is hard! Even the simplest hello world application will take you hours to set up and you have to know a lot about how many different pieces of technologies work together. Here is a quick inventory from the browser to the back end of what a typical web-application developer needs to know about: [...]

Tags: Uncategorized