commander.c - C option parser
Every time I write a C program I end up rolling my own option parsing with a loop and strcmp(), so I figured it was time to port over commander.c from the original ruby commander, and there’s also a node.js port. Commander.c is a super simple script that makes defining options declarative and does the dirty work for you, its usage looks like this: #include <stdio.h> #include...
Mocha 1.2.0 - now with more nyan!
Nyan @atsuya added an awesome new nyan reporter: Client-side test initialization You can now initialize a client-side test setup with the mocha init <path> command. This will copy over mocha.css, mocha.js and generate a default tests.html file for you. Working browser example A lot of people were asking for a working browser example to reference, so I added one to the bottom of...