I haven't written anything in a while, so I thought I'd post an update on my perl stuff.
I've been updating a few of my modules with nicer test suites. By using Devel::Cover I've been able to get them to 100% test coverage which has also allowed me to find and fix some unexpected bugs.
The hardest part of it so far as been testing die()s, warn()s and code that prints to STDOUT. I've been using Test::Exception and Test::Warn for the first two, and IO::Capture for the last. Unfortunately, there's a bug in IO::Capture which doesn't allow it to capture printf() commands.
Most recently I've been playing with WxPerl. I made a little iPod database browser (iPodDB). It should be available on CPAN now. I found a pile of pod mistakes after i uploaded it, so i expect to release another version soon.
I haven't been able to find a good cross-platform way to test the GUI, yet. I know there's Win32::GuiTest and X11::GUITest which might give me a good place to start.
Re:Cross platform GUI?
LTjake on 2004-10-07T23:27:19
By testing a cross-platform GUI i mean how can i write my test suite (for this GUI app done in WxPerl) so that it will work on multiple platforms.
If someone does a "make test" on Solaris, I'd like it to test the same things as if someone running Win32 did a "make test."
Have I explained my self any better?
:) [probably not :] Re:Cross platform GUI?
Lunchy on 2004-10-08T03:17:07
You probably have, it's my not knowing anything about test suites that's the problem.:)
Tests? who needs test? *cough* *blush*