Test framework comparison

Here's a report of various testing frameworks which concentrates on that authors needs. A report which looks in detail at how each testing framework sandboxes each test would be nice.

How does CLUnit compare with XPTEST?

I tried using CLUnit for a little project recently, and played only a bit with XPTEST too. Here are my impressions:

I am a little disappointed with CLUnit actually, and will look at XPTEST. It looks better, but then, I haven't used it in practice.

[Dunno who wrote the above --- rpg]

Comparison with RT

I have been using the venerable RT framework for testing a large program. It is simple, and seems to be very reliable.

On the other hand, I don't know how scalable it is. For a small system, you can define a bunch of tests, and then you call (DO-TESTS). That's fine. But I'm not sure how one should progress given a larger system, with multiple modules. In this case, I think one would like to have a framework that would permit one to group tests into "families" or modules, and only run the tests for a specific family.

I believe that some of these test frameworks provide this facility, but there are a bewildering number of them. I'm going to try to find a framework that will give me this test-grouping capability without causing too much upset when migrating from RT.

Quick follow-up: Seems like there's a modified version of RT that permits one to attach "notes" to entries (tests). Notes can contain disabling info. So it's possible to do a simple version of what I want using the latest version of RT, I think. On the other hand, the notes framework seems like a general-purpose, low-level tool to do the test grouping, and doesn't seem terribly well integrated into RT (not mentioned in docs, nor is it exercised in RT's self-test suite). Maybe it would be better to get a tool that does just this thing, and does it in a way that's integrated into the framework tightly.

Robert Goldman [rpg --- not that rpg]


This page is linked from: CLUnit   test framework   XPTEST  

CLiki pages can be edited by anyone at any time. Imagine a fearsomely comprehensive disclaimer of liability. Now fear, comprehensively