[REBOL] Re: [RUn][REBOL Unit][Test-driven Development] Test Driven Development in REBOL
From: Christophe:Coussement:mil:be at: 22-Apr-2004 8:41
Hi Ashley,
Glad to get some feedback ;)
> A couple of questions first.
>
> 1. Does RUn work at the UI or console level (ie. can it drive an
> "encapped" script)?
No. It's able to run raw REBOL scripts.
> 2. Is it capable of driving reasonably complex VID interfaces?
If the creation of your layout is encap into a function, you could 'assert-equal the
expected layout and the produced one.
Of course, working with RUn implies for now a specific design of your scripts.
> 3. Does it allow "tests" to be grouped into higher-level
> collections? (eg.
> a "Change Customer Details" might consist of a "Logon", a "Customer
> Search", a "Select Customer", etc)
Yes. You can apply 'run-test to TestCase (which is a collection of developper's tests
testing one functionnality), to TestSuite (which is a collection of TestCases, or a mix
of both.
> 4. Is ranged and / or random data input supported?
Yes, if you integrate the random generation into your developper's tests.
> Just trying to get a feel for what RUn is / can do before I ask for a
> translation. ;)
It's OK. So I can learn what the expectations are of ppl outside our work environnement.
I like that :)
I understand if RUn meets our requirements, there is a lot to adapt to make it work and
useful for other ppl.
Thanks for asking !
==christophe