[Kst] healpix status
George Staikos
staikos at kde.org
Sat Oct 29 22:40:19 CEST 2005
On Saturday 29 October 2005 16:33, Ted Kisner wrote:
> > Do you have any testcases? It would be great to have some in tests/.
> > I can generate coverage reports if I have some samples.
>
> I'll gladly make some tests. Looking in the tests/ directory, it seems the
> idea is to make a small c++ program that links against libkst* and then
> create an instance of the datasource from an example input file. Then I
> can create various KConfig's and pass them to the datasource to test all
> the features. I guess the way to verify everything works is to call
> readMatrix and readField to make sure that the returned data is what I
> expect.
>
> So the only thing this doesn't test is that the actual config widget
> returns the proper KConfig- but that should be obvious...
I'm not too worried about the different configurations even. Just the
basics of the loading code would be great to have tested. We can also use
these for performance regression tests as they become more full-featured.
Beyond the automated unit tests, it's also useful to have test sessions we
can just open in Kst to make sure everything looks right. Once we start to
get a useful collection, I'll have an automated visual-regression suite
implemented. We have one in KHTML and it works very well.
--
George Staikos
KDE Developer http://www.kde.org/
Staikos Computing Services Inc. http://www.staikos.net/
More information about the Kst
mailing list