freeride-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [FR-devel] Unit Tests and documentation


From: Bob Calco
Subject: RE: [FR-devel] Unit Tests and documentation
Date: Sat, 3 Aug 2002 11:31:18 -0400

Rich:

I'd like to take that on. Let's set out the core requirements for the test
harness plugin, and I'll sit down and make that my first meaningful
contribution to the project. Automatically testing each plugin's Databus
interface is a good start. I'd like to see it actually generate test cases
eventually, and possibly even regression batch tests, but if nothing else at
least creating the plumbing for a set of unit tests against a plugin would
be very helpful.

Any other thoughts?

(BTW, my next meaningful contribution to the project will be wxRuby and a
FreeRIDE plugin thereto, for which I will need some monster-hulka unit
testing, so this plug-in is of interest to me for purely selfish reasons
down the line...)

:)

Bob

%% -----Original Message-----
%% From: address@hidden
%% [mailto:address@hidden Behalf Of Rich
%% Kilmer
%% Sent: Saturday, August 03, 2002 11:06 AM
%% To: FreeRIDE
%% Subject: [FR-devel] Unit Tests and documentation
%%
%%
%% Hey all,
%%
%% As we progress in our developments, I would recommend (someone) look at
%% a unit testing capability for plugins.  On the current project I am
%% working on (in the paying world) they have a complex plugin system which
%% they are scratching their heads trying to figure out how to build a test
%% harness for.  They use a blackboard-style plugin communications
%% architecture to abstract plugins from each other...we have a databus.
%% They have the problem of a complex Java application (400K lines) that we
%% don't...but...
%%
%% At that (plugin) level the Databus "interface" that the Plugin exposes
%% should be tested in a similar sense that the "interface" of a class is
%% tested via unit tests.  It would be neat to come up with a
%% TestHarnessPlugin that would load tests (perhaps from other registerd
%% plugins) and exercise their exposed Databus interfaces using Assert,
%% etc.
%%
%% Thoughts?
%%
%% -Rich
%%
%% Oh, and BTW...you Plugin developers need to document your code ;-)
%% FreeBASE is fully RDoc'ed if you want to see the pattern you can use for
%% your methods.
%%
%%
%%
%% _______________________________________________
%% Freeride-devel mailing list
%% address@hidden
%% http://mail.freesoftware.fsf.org/mailman/listinfo/freeride-devel
%%





reply via email to

[Prev in Thread] Current Thread [Next in Thread]