Sounds nice Jasper.
Yesterday I had a chat with mgsloan of 2geom, and we discussed lib2geom integration into Inkscape. We both thought we need tests to make sure nothing gets broken by the switch to 2geom etc. Since I am on Windows as well, I also have troubles with not being able to do 'make check'. What you propose sounds all very nice (I like the publishing on internet). Also the profiling is nice, I have been looking for that a while ago.
Cheers, Johan
-----Original Message----- From: inkscape-devel-bounces@lists.sourceforge.net [mailto:inkscape-devel-bounces@lists.sourceforge.net] On Behalf Of Jasper van de Gronde Sent: vrijdag 21 maart 2008 13:19 To: inkscape Subject: [Inkscape-devel] GSoC test suite project
I'm interested in improving Inkscape's test framework for the GSoC. I've read the GSoC related documentation. I've also read all the information on testing on the Wiki that I could find and had a look at some of the current unit tests in SVN.
Unfortunately I don't have a Linux system set up at the moment, so I can't actually execute 'make check'. So far I've come up with the following draft plan:
- Make sure the existing tests work on Win32 (and MacOS X).
- Set up system to rerun tests periodically/when needed.
- *Possibly* also try generating some historical data (where
possible). 4. Implement new tests for (at least): - nr-compose (I already did this locally, at least partially) - livarot (parts of) - sp_svg_... (transform_read/write, read/write_path, etc.) 5. Integrate (existing) SVG conformance tests so that they are also rerun. I will attempt to partially automate this (as far as I understand the current tests are evaluated manually) by storing result images and only asking for human judgement when an image changes. I'm also thinking of a few more advanced ways of automating some of these tests. 6. Add performance information by timing tests (as well as rendering of images, for the SVG conformance tests for example).
In short my intention is to create a system which (continuously) keeps track of the status of unit tests as well as SVG conformance and performance of Inkscape. Test results will be accessable online.
I also plan to use gcov to keep track of test coverage and if interesting (read: if the tests take long) reduce the number of tests that have to be rerun each time. I'm currently checking whether I can get gcov to work to my satisfaction with Inkscape.
If deemed interesting I might also add information from gprof to give a better idea of what parts of the code are interesting to optimize (and keep track of performance over time on a fine-grained level). I already regularly use gprof with Inkscape myself.
Is this more or less what was originally intended? In any case, I would appreciate any suggestions and/or information you might have.
This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Inkscape-devel mailing list Inkscape-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/inkscape-devel