Suite of Tests
revlist at azurevision.co.uk
Fri Oct 20 22:29:03 EDT 2006
On 21 Oct 2006, at 03:15, kee nethery wrote:
> On Oct 20, 2006, at 12:46 PM, Andre Garzia wrote:
>> One thing we trylu need is a Suite of Tests that test a rev
>> distribution for obvious bugs. This little stack could be executed
>> and it would test things. Many languages have this kind of suite,
>> Ruby has it and so does scheme. This would help finding bugs in
>> new releases.
> How about one master stack that looks in a folder, lists all the
> stacks in that folder, then sends each one a command to execute
> it's tests, and accepts a callback when the test is done. Then each
> of us could create test stacks to test a function and send them to
> runrev and they could run them as unit tests. If we did this for
> each bug that got submitted it might help them QA new versions.
> just a thought.
> Kee Nethery
Sounds like a good thought to me.
Rather than callbacks, I'd probably go for things being called from
the openstack handler with results being written to a text file with
the same name as the test stack. That way you just launch each stack
and don't have to worry too much about communication.
More information about the Use-livecode