Blog Archives

JavaScript coverage with Istanbul and Coveralls via Travis CI

Components used: Mocha, Istanbul, Coveralls, Travis, node coveralls, make Since then I’ve been looking for alternatives to using JS Coverage for doing coverage instrumentation. There are two main issues with it: It’s C component that needs to be (sort of

Tagged with: , , , , , ,
Posted in git, github, JavaScript, nodejs, TDD

Integration testing node.js web apps with JavaScript

These are some loose guidelines for integration testing a web app in JavaScript. Ideal if you need to test an ExpressJS app or any kind of web service. The key issue is being able to stop and start the service

Tagged with: , , , ,
Posted in Uncategorized

Automated JavaScript testing with Mocha and js-coverage for NodeJS

I used to extensively use Jamine and Jasmine-Node for my JavaScript testing. While jasmine is great I’ve recently moved over to Mocha for several reasons but primarily because it supports coverage reporting. Here are some basic steps to get going.

Tagged with: ,
Posted in JavaScript, nodejs, programming, TDD, testing

C# Win32 messaging with SendMessage and WM_COPYDATA

I had a real pain recently where I wanted to control one windows app from another. I found some useful stuff on the net, but nothing that gave an end to end solution. So here’s what I came up with.

Tagged with: , , , , , ,
Posted in geeky, programming

Media streaming with PS3 (DivX, Xvid)

I’ve had a strange day today. I started off loving Sony, then I hated them, now I’m almost loving them again. I’ll explain: I’m fed up with watching all of the torrents that I download on my PC in my

Tagged with: , , , , , , ,
Posted in Media, PS3, Streaming