Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

Journal of LTjake (4001)

Thursday October 07, 2004
10:26 AM

Perl happenings

[ #21234 ]

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.

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.
  • What do you mean by testing a cross platform GUI? The reason I ask is that WxPerl is very cross platform, but I'm guessing I'm misunderstanding you. :)
    • 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 :]