Skip to content

{ Monthly Archives } November 2008

Fakes Arent Object Mothers Or Test Builders

Fakes are not Object Mothers or Test Data Builders and Extensions are a bridge to aid BDD through StoryQ I’ve just spent the week at Agile2008 and have had it pointed out to me that I have been using Fakes as nomenclature when in fact it is an Object Mother pattern. So I have set [...]

Tagged , , , , , , , , , , , , , , , ,

RSync quick reference

I always forget what rsync commands I actually need to use. Backups (one-way) Quick Backup from one folder to another rsync -a directory1/ directory2/ Notes: remember the forward slashes on each directory. This does a simple one-way archive Quick Backup from one folder to another ensuring DELETIONS This ensures that the dest directory has extra [...]

Update to Hemingway theme for textile

Now that I am uploading my blog directly, I actually needed textile installed. See Textile plugin for WordPress. However, the code didn’t look that good with my Hemingway skin. Here is the snippet from the css to make the code look better. pre{ width:95%; padding:1em 0; overflow:auto; color: #444444; font-family:’Bitstream Vera Sans Mono’,'Courier’,monospace; font-size:105%; background-color:#F8F8F8; [...]

Tagged , , ,

Update to Hemingway theme for textile

Now that I am uploading my blog directly, I actually needed textile installed. See Textile plugin for WordPress. However, the code didn’t look that good with my Hemingway skin. Here is the snippet from the css to make the code look better. pre{ width:95%; padding:1em 0; overflow:auto; color: #444444; font-family:’Bitstream Vera Sans Mono’,'Courier’,monospace; font-size:105%; background-color:#F8F8F8; [...]

Tagged , , ,

jQuery and testing — JSUnit, QUnit, JsSpec [Part 2]

Trying QUnit with jQuery In the JSUnit entry, one of the main problems was with the sequencing of calls. Let’s see how QUnit handles this. QUnit has a simple implementation to this problem: stop() and start() commands to synchronise sequences. The basic approach is that it calls a test function. With the stop() command, it [...]

Tagged , , , , , ,

jQuery and testing – JSUnit, QUnit, JsSpec [Part 1]

Trying JsUnit with JQuery I have started first with JSUnit because it is tried and true (and to tell the truth I thought it would be fine and didn’t bother with a quick search for alternatives). For the impatient, I won’t be going with JSUnit and here are some reasons: the problem is that the [...]

Tagged , , , , , ,

jQuery and testing – JSUnit, QUnit, JsSpec [Part 3]

Trying JsSpec with jQuery This is part three of three. The previous two have been focussed around managing the problem of timing: JSUnit got too hard and QUnit is easy but you still have to manage timings yourself. With JsSpec there is no problem because it is all managed for you. Nice work! Here’s the [...]

Tagged , , , , , ,

jQuery and testing – JSUnit, QUnit, JsSpec [Introduction]

I had been writing a jQuery parser and then realised once I had spiked it that I hadn’t actually written any tests. So, these are some results from a spike in unit testing a jQuery plugin. Some background, the plugin is a results viewer from an xml feed from storyq. So, I have run some [...]

Tagged , , , , , ,

Naked Planning – Arlo Belshee from Agile 2008

There is a nice pod cast (Agile Toolkit Podcast) by a guy Arlo Belshee on Agile Toolkit Podcast, Naked Planning, Promiscuous Planning and other Unmentionables (sorry don’t have a url). He has a couple of points that are interesting (around 17-23mins). He is basically using Lean-type queuing for planning. I am interested in his ideas [...]

Tagged , , , ,

Dokkit vs Blog entry

I have a problem how do I work both online and offline on my blog? If you look at say Fowler’s Bliki then he is clearly composing offline and then publishing. Looking in the Ruby world, and having had a previous life writing documentation, I looked at Rote and then Dokkit. I thought that I [...]

Tagged , , ,