MicroTest 1.2 & MicroStub 1.0: Your microscopic testing pals

Posted by Mathew Abonyi Sun, 21 Jan 2007 18:49:43 GMT

Just after writing the previous post, I discovered the need for a little bit of method stubbing and promptly fell upon the task with MicroStyle1. Also, I will officially keep MicroTest under 4 kilobytes2.

So, without further ado, here are the latest new features of MicroTest:
  • colour output
  • execution time in microseconds
  • MicroStub: overwrite a method with stub()
  • twice as fast (no sweat)
  • a self-test! (SELFTEST=true ruby microtest.rb)
  • and its own home. Awwww.

MicroTest now lives in my Google Code SVN repository.

  svn co http://mabs29.googlecode.com/svn/trunk/other/microtest/

1 By the way, if you haven’t noticed yet, I’ve been a little inspired by Camping.

2 Unlike Camping (because MicroTest is less complicated), I think it only fair that the 4 kilobytes include comments and the self-test.

Posted in  | no comments | no trackbacks

Comments

Trackbacks

Use the following link to trackback from your own site:
http://www.mathewabonyi.com/articles/trackback/43

Comments are disabled