Philip Johnson from University of Hawaii uses Robocode in his computer science course.
He came with idea of unit testing Robocode robots and prepared excellent video guide to show you how to do that.
He reused our implementation of RobotTestBed, which we use to test Robocode engine. We will be working with him to include his idea. Probably as downloadable Robocode extension package.
Code and more could be found in pmj-dacruzer project
Enjoy this great stuff!