Regression testing IRC software

If there’s one theme in all IRC-related software that is most unfortunate, it’s the near-universal lack of any automated test suites. I’ve been guilty of this too, but it feels like time to start doing something about it.

There are a few factors that contribute to this, not least the fact that so much of the server software around is derived from ircd2.8, written in C, and not modular enough to unit test sensibly. That shouldn’t prevent end-to-end regression testing, though. I’ve started playing around with such a test harness for Atheme, but then started wondering whether it wouldn’t be possible to write a more generic regression harness for this type of network software.

Has anyone attempted this in the past? Know of any existing software that does it? I’m fairly language agnostic as long as it’s C, C++ or Perl.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s


%d bloggers like this: