[vtk-developers] VTK-Python testing: update.
Blezek, Daniel J (Research)
blezek at crd.ge.com
Wed Sep 11 08:37:58 EDT 2002
Prabhu,
I would not try to wrap my brain around rtImageTest.tcl too much, it's pan..., err, I mean it is a
bit tricky. It was originally written to tease out the proper image from the VTK Tcl example code
that was already in place. As such, it really is a bit hairy, even for a Tcl guru. Rather I think
going with a unit test package for Python is the best approach. Multiple images per test are a fine
idea. In rtImageTest.tcl, multiple images per test pertain to multi-platform regression images,
rather than multiple outputs.
Writing the Python tests in a good JUnit style framework is a step in the right direction of
helping people come on board with Python. Now we need the VTK/Java folks to step up to the plate!
-dan
--
Daniel Blezek, Ph.D.
blezek at crd.ge.com
Visualization and Computer Vision Lab, Imaging Technologies
GE Global Research Center
> -----Original Message-----
> From: Prabhu Ramachandran [mailto:prabhu at aero.iitm.ernet.in]
> Sent: Tuesday, September 10, 2002 1:20 PM
> To: vtk-developers at public.kitware.com
> Subject: [vtk-developers] VTK-Python testing: update.
>
>
> Hi,
>
> Looked at Common/Testing/Tcl/rtImageTest.tcl and understand it
> somewhat. I still dont understand the multiple image part (my Tcl
> knowledge is bad and Tcl code in general is pants^H^H^H^H^H, hard to
> read). I think I can do something like what rtImageTest.tcl does in
> Python. I'll skip the multiple images part for now and go ahead with
> the rest.
>
> I still have no answer from you folks on the multiple images per test
> question I asked. I noticed that the DartTestfile.txt doesn't really
> care if the image is passed or not. So AFAICT, multiple images do not
> look like a big technical problem.
>
> I'd appreciate if you turn your attention away from clothing for a few
> moments and help me here! ;-D
>
> prabhu
> _______________________________________________
> vtk-developers mailing list
> vtk-developers at public.kitware.com
> http://public.kitware.com/mailman/listinfo/vtk-developers
>
More information about the vtk-developers
mailing list