From: Mark Miesfeld <miesfeld@gm...> - 2007-12-09 22:14:04
I have placed in the incubator work I have been doing to update the
ooRexxUnit framework. You can use this command to do a check out to
take a look at it. (I really got this one level deeper than I meant.)
svn co https://oorexx.svn.sourceforge.net/svnroot/oorexx/incubator/ooTest.framework/testGroup
Here are some key points:
* ooRexxUnit really serves 2 main purposes. (1) It is a powerful tool
that can be used by anyone to test their ooRexx programs. (2) It
serves as the base of the development team's testing of the ooRexx
ooTest.framework sits on top of ooRexxUnit and provides functionality
specific to our (the development team's) needs. It does not attempt
to cater to anyone else's needs. It is meant to impose as little
change on ooRexxUnit as possible.
* A primary design goal of the ooTest.framework is to make writing
test cases for the interpreter easier for the test writer. The long,
somewhat obscure boilerplate in the .testUnit files becomes this in
the .testGroup files using this framework:
parse source . . s
do i=1 to 150 until lines[i]="*/"
group = .TestGroup~new(s, lines)
if group~isAutomatedTest then return group
suite = group~suite
testResult = suite~run
This should make it much easier to people to write new .testGroup
files and to understand what the boilerplate does. (Well the second
part of the clause is my hope. <grin>)
* The other primary design goal is to make it easier to selectively
run the tests one wants to run and to provide more flexible logging of
1.) You can run a test of this framework after a fresh check out by doing:
on Windows, use . ./setTestEnv.sh on Linux
2.) Parts of this are still rough, I am in a hurry as I have to leave
town and I wanted something that worked.
3.) When you do a check out you get the .testGroup files as they were
about a week ago. I have converted about 26 of them to work with the
4.) I am going out of town for about a week and will not have access
to the interpreter code and limited access to e-mail. I will try to
answer questions regarding this framework on the list while I am gone.
I would like to get this accepted as the direction to take going
forward. I will have some days off at Christmas time. If this
direction is accepted, than I will use that time at Christmas to
finish up the framework and convert all the existing .testGroup files
to use this framework.
I have a few more things I'd like to change but have run out of time.