[REBOL] Re: [TDD with run.r] Help needed please...

2007-05-13 Thread Robert M . Münch
On Wed, 09 May 2007 13:58:42 +0200, Gregg Irwin [EMAIL PROTECTED]= =20 wrote: Testing GUIs is not easy. I worked on some ideas with Robert Muench that work at the level of programmatically inserting data, checking what value a face has, etc. That doesn't tell you anything about the

[REBOL] Re: [TDD with run.r] Help needed please...

2007-05-10 Thread melatiah
Thanks Anton for your help. :) The code provided has given me some new thoughts on the subject. I'm using tester.r instead of run.r as I have managed to get it to run, this is down to my hamfistedness. :) Cheers, Sash -- Pt! Schon vom neuen GMX MultiMessenger gehört? Der kanns mit

[REBOL] Re: [TDD with run.r] Help needed please...

2007-05-10 Thread melatiah
Thanks Gregg for the thoughts. I think when I get more to grips with REBOL and TDD I will be able to make better use of the great info you and others have provided. Thanks, Sash -- Pt! Schon vom neuen GMX MultiMessenger gehört? Der kanns mit allen:

[REBOL] Re: [TDD with run.r] Help needed please...

2007-05-10 Thread melatiah
Hi Peter, First thing I realise is from what you wrote is RUnit and run.r are different. RUnit I gather is a much more complete testing framework. I will delve deeper to find out how to use RUnit I like the idea I could at least create objects and interrogate those objects. I will work

[REBOL] Re: [TDD with run.r] Help needed please...

2007-05-10 Thread Ged Byrne
On 5/8/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi All, I'm a newbie to REBOL and TDD/run.r I like the the concept of TDD. I have read through the case study by the author of run.r ( a great program) I can see how the test framework operates on the maths functions presented. But

[REBOL] Re: [TDD with run.r] Help needed please...

2007-05-09 Thread Anton Rolls
Hi Sash, Well, I guess it's hard to check the output of LAYOUT, which is a very complicated function, and VIEW, which rests upon the underlying internal View system. However, you make some basic checks to see that the layout was created ok with the button inside at the right position. Example:

[REBOL] Re: [TDD with run.r] Help needed please...

2007-05-09 Thread Gregg Irwin
Hi Sash, I like the concept of TDD, but I'm not a fan of the xUnit model; %run.r is an excellent implementation though (IMO). Testing GUIs is not easy. I worked on some ideas with Robert Muench that work at the level of programmatically inserting data, checking what value a face has, etc. That

[REBOL] Re: [TDD with run.r] Help needed please...

2007-05-09 Thread Peter Wood
Hi Sash I have been using RUnit and TDD development of Rebol scripts and find it to be a very productive way of working. Most of the xUnit testing frameworks aren't really designed for testing GUI's. The general advice seems to be to separate as much of the program logic as possible from the