Skip to content

cjohansen.no

Test Driven JavaScript - The Book

For those of you who didn't already know: I'm writing a book. It's about JavaScript, it's about unit testing and it's about Test Driven Development. It won't be out until October this year, but drafts are already available through Safari Rough Cut.

Full article Test Driven JavaScript - The Book.

Jstdutil - A Ruby wrapper over JsTestDriver

Today I needed remote access to a gem I've been tinkering with for a while, so I pushed it to Gemcutter. It's called jstdutil, and it provides a small Ruby wrapper over JsTestDriver that adds colored output, a short, snappy `jstestdriver` command and autotest.

Full article Jstdutil - A Ruby wrapper over JsTestDriver.

Test driven JavaScript done right

Since this summer, I've been test driving all my JavaScript code using Google's fairly fresh JsTestDriver project. If you're intrigued by TDD with JavaScript, including automatic testing (in a console, or - if you're a masochist - an IDE), test suites of 300+ tests running in 498ms as well as shiny red and green output, you should read on.

Full article Test driven JavaScript done right.

Juicer Google group

I still get the occasional comment/request for help for Juicer on the original announcement. Due to spam problems I've now closed comments for the post and opened a Google group instead. Welcome to juicer-dev.

Full article Juicer Google group.

Slides from my JavaScript TDD presentation

Last night I gave a presentation to the local Ruby user group in Oslo on tools for supporting test driven development in JavaScript.

Full article Slides from my JavaScript TDD presentation.

Setting up Gitorious on your own server

Gitorious is an open source Rails application for managing your projects: Git repositories, wikis, timeline and more. Not identical to, but not completely unlike GitHub. Being open source means you can set up your own Gitorious, even in private mode and host all your company's projects. In this article I'll show you how to get it running.

Full article Setting up Gitorious on your own server.

Ruby version manager, Ubuntu and openssl

RVM (Ruby Version Manager) is a hot tool which makes switching between Rubys (1.8.6, 1.8.7, 1.9.1, JRuby, you name it) as simple as `rvm use 1.9.1`. However, on Ubuntu, you may hit trouble when using the openssl package for any non-system provided Ruby version.

Full article Ruby version manager, Ubuntu and openssl.

Emacs org-mode todo colors

A quick tip on how to customize the look of todo items in Emacs org-mode.

Full article Emacs org-mode todo colors.

Twibot gets a bunch of new features

A couple of weeks ago I received a pull request from Mike Demers for Twibot. However, in contrast to the occasional bug fix I receive, this branch included several new features.

Full article Twibot gets a bunch of new features.

Upcoming updates to Juicer

It's been quiet around here for a while. It's been quiet around Juicer, too. Both of those are going to change. After being given a push, Juicer is now finally up for some updates.

Full article Upcoming updates to Juicer.

2006 - 2010 Christian Johansen Creative Commons License