Check Your Productivity with Personal Unit Tests

Posted by Gina Trapani at 5:49 AM on October 4, 2007

A computer programmer who's out to re-program himself has written a set of "personal unit tests" he "runs" every morning to check himself. Coders out there know that unit tests are small programs that run on a daily basis to make sure your software is doing everything it should. These personal unit tests include:

Exercise (health) - Pass iff I got at least 20 minutes of any kind of exercise yesterday.

Empty inbox (mind) - Pass iff, at some point over the course of yesterday, my email inbox was empty.

Those "iff"'s aren't typo's, either—they're programmer shorthand for "if and only if." What would your personal unit tests look like? Tell us in the comments.


 

Comments (AU Comments · US Comments)

There are currently no AU comments for this post.

Post Your Comment

Lifehacker Australia moderates comments to avoid spam and abuse. We're looking for comments that are interesting, substantial and/or highly amusing. HTML is not accepted.

You must supply a name and your email address.