Skip navigation.

Archives

TotT: Time is Random

How can a method be well tested when it's inputs can't be clearly identified? Consider this method in Java:

/** Return a date object representing the start of the next minute from now */
public Date nextMinuteFromNow() {
  long nowAsMillis = System.currentTimeMillis();
  Date then = new Date(nowAsMillis + 60000);
  then.setSeconds(0);
  then.setMilliseconds(0);
  return then;
}

Feynman Lectures Available Online

If you hanker for a bit of enlightenment from one of the 20th century's greatest thinkers and communicators, you'll no be as delighted as I was to find this series of lectures from the late great physicist Richard Feynman.

Another Continuous Background Testing Tool

Josh Chisholm has kindly sent me a link to a tool that runs your unit tests in the background while you work, this time for Ruby.

Josh notes:

Just wanted to mention that another tool, autotest does this and is quite popular in the Ruby community. It's not tied to any IDE, you just keep a command window open or a command panel in your favourite editor. I believe the RadRails and Netbeans IDEs have built-in autotest support.

Practical Testing: 16 - Fixing a timeout bug

Back in 2004, I wrote a series of articles called "Practical Testing" where I took a piece of complicated multi-threaded code and wrote tests for it. I then rebuild the code from scratch in a test driven development style to...
Posted by Len at 10:28 AM | » login or register to post comments | feed | read more

Testing — Mission Impossible?

… test automation created by a siloed QA team working in isolation to reverse-engineer existing software and automate tests against an untestable UI using proprietary tools accessible only to a few select team members is guaranteed to be incredibly expensive both to create and to maintain, and also ridiculously fragile.

People still do that?! :-) No [...]

Draft Complete!

My new book is done! Sort of.I finally have a complete draft of How I Learn Stuff: Secrets of a Buccaneer-Scholar.All I need now is a publisher.I had the idea for a book like this 26 years ago (original title: “School Kills”).I had the idea for this specific book 18 years ago.The oldest text in [...]