[RUn][REBOL Unit][Test-driven Development] Test Driven Development in REBOL
[1/7] from: Christophe::Coussement::mil::be at: 21-Apr-2004 13:42
Hi list,
As we were experimenting with eXtreme Programming (http://www.xprogramming.com is a good
starting point), we found out that this methodology suits perfectly with the development
of rather large projects in REBOL, such as those we're concerned about (ie Psychotechnical
Assessment).
We used originaly the rUnit written by David Vydra (http://vydra.net/rebol-unit/rebol-unit.html),
which worked satisfactorily. But because of the lack of evolution of the product (no
change since ver 0.24 - 25-Feb-2001), we decided to develop our own Unit Testing Framework.
This xUnit-like utility, which we called (R)EBOL (Un)it - RUn, is now in beta. We are
using it on the Unit Tests we already designed, with full satisfaction for now.
Should there any people be interested for testing RUn, we could provided it as a script
or a executable (for M$ Windows platform only, sorry for that :( )
If there a sufficient interest, I could translate the doc (actually about 16 pages) into
English.
Let me know, guys ;-)
==christophe
[christophe--coussement--mil--be]
[2/7] from: atruter:labyrinth:au at: 21-Apr-2004 23:07
> If there a sufficient interest, I could translate the doc (actually
> about 16 pages) into English.
>
> Let me know, guys ;-)
A couple of questions first.
1. Does RUn work at the UI or console level (ie. can it drive an
encapped
script)?
2. Is it capable of driving reasonably complex VID interfaces?
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)
4. Is ranged and / or random data input supported?
Just trying to get a feel for what RUn is / can do before I ask for a
translation. ;)
Regards,
Ashley
[3/7] 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
[4/7] from: atruter:labyrinth:au at: 22-Apr-2004 17:46
> Hi Ashley,
>
> Glad to get some feedback ;)
No problems, RUn looks like it might just meet my requirements for the
comprehensive RebDB v1.3 testing I need to do, so if you do translate it
then I at least will give it a serious run for its money.
Well that's 1 vote, any other takers? Testing is good, testing is your
friend ...
Regards,
Ashley
[5/7] from: Christophe:Coussement:mil:be at: 22-Apr-2004 10:55
Hi Ashley
Ok. Thanks for that :)
The doc is being translated now. I hope to get it done about next week.
Would you mind giving me your email address, so I can send you the needed files and doc.
TIA,
==christophe
[christophe--coussement--mil--be]
[6/7] from: info:id-net:ch at: 22-Apr-2004 11:24
Hey,
I'm interested in testing your Testing Unit. I speak French and i'm working
on a big application.
Philippe
----- Original Message -----
From: "Coussement Christophe" <[Christophe--Coussement--mil--be]>
To: <[rebol-list--rebol--com]>
Sent: Wednesday, April 21, 2004 1:42 PM
Subject: [REBOL] [RUn][REBOL Unit][Test-driven Development] Test Driven
Development in REBOL
> Hi list,
>
> As we were experimenting with eXtreme Programming
(http://www.xprogramming.com is a good starting point), we found out that
this methodology suits perfectly with the development of rather large
projects in REBOL, such as those we're concerned about (ie Psychotechnical
Assessment).
> We used originaly the rUnit written by David Vydra
(http://vydra.net/rebol-unit/rebol-unit.html), which worked satisfactorily.
But because of the lack of evolution of the product (no change since ver
0.24 - 25-Feb-2001), we decided to develop our own Unit Testing Framework.
> This xUnit-like utility, which we called (R)EBOL (Un)it - RUn, is now in
beta. We are using it on the Unit Tests we already designed, with full
satisfaction for now.
> Should there any people be interested for testing RUn, we could provided
it as a script or a executable (for M$ Windows platform only, sorry for that
:( )
[7/7] from: Christophe:Coussement:mil:be at: 23-Apr-2004 9:24
Hi Philippe,
I would be happy to help you :)
Can you provide me your email address where I can send the script and the doc ?
==christophe
[christophe--coussement--mil--be]