POV-Ray : Newsgroups : povray.off-topic : Pretty cool stuff for professional programmers : Re: Pretty cool stuff for professional programmers Server Time
5 Sep 2024 07:25:25 EDT (-0400)
  Re: Pretty cool stuff for professional programmers  
From: Orchid XP v8
Date: 10 Oct 2009 14:01:53
Message: <4ad0cc11@news.povray.org>
Warp wrote:

>   With an interactive graphical program such automatic testing is not that
> easy. You can't simply write a program which calls some functions and checks
> what those functions return. You would have to programmatically emulate user
> interaction, and somehow check that the program does the right thing.
> There's a million things which could theoretically go wrong, and most of
> them are things which are very hard if not impossible to check
> programmatically (eg. visual glitches, wrong timings, etc.)

I suppose you could throw a bunch of user events at it and check that it 
doesn't fail any asserts. Doesn't prove it's working right, but it's a 
start.

-- 
http://blog.orphi.me.uk/
http://www.zazzle.com/MathematicalOrchid*


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.