testsuite testfiles testcases etc
Hi all,
Maybe there are people out here that have time to kill and want to help on Inkscape but don't want to or can't code C++. I'd like to remind you of this years 'Test Suite' GSoC project, which was imo very succesfull. We need artists that can provide SVG files and PNG renders of them; so no coding required!
The testsuite can be found here: https://inkscape.svn.sourceforge.net/svnroot/inkscape/gsoc-testsuite
For some documentation see: http://www.inkscape.org/wiki/index.php/TestingInkscape ("rendering tests")
What this testsuite does is provide numerous svg files that are rendered by Inkscape to PNGs. The PNGs are then compared to a reference PNG and Inkscape will score a pass or fail for that particular "testcase" svg file. It is a very nifty procedure/tool to see what Inkscape can and cannot do. Moreover, it can be used to track regressions.
So where can you help? Add testcase files! If you've created some crazy drawing that uses complicated SVG structures, or LPEs, or perhaps you have a simple drawing with 'corner cases' (lines with zero length, rectangles with zero length, closed paths with start and end markers, etc...).... those are the files we need ! Note that we need a lot of files where Inkscape does something non-trivial but does it correctly! This way we can ensure that will work in the next version. If you can also provide a reference PNG of the correct rendering, that would be awesome :) Check the testcases directory, perhaps your testcase is already there. You can post the testcases on launchpad, mail it to me, or find another way of getting it to us. Ask the maillist if you'd like SVN write access, if you've shown good work in two patches, it will be granted to you.
I'm happy to answer questions about the testsuite, but it's perhaps better to ask Jasper for details (cc'ed in this mail).
Cheers, Johan
J.B.C.Engelen@...1578... wrote:
Hi all,
Maybe there are people out here that have time to kill and want to help on Inkscape but don't want to or can't code C++. I'd like to remind you of this years 'Test Suite' GSoC project, which was imo very succesfull. We need artists that can provide SVG files and PNG renders of them; so no coding required!
I'd like to add that even certain classes of text related bugs can be tested, without relying on having the same fonts installed on all systems. This can be done by creating an SVG file that should look the same but *is* rendered correctly by Inkscape. For more information:
http://www.inkscape.org/wiki/index.php/TestingInkscape
There is an example of this in the test suite (markers.svg, with markers-patch.svg being the "reference" SVG). Although this example doesn't actually use text (and could have used a PNG).
I'm happy to answer questions about the testsuite, but it's perhaps better to ask Jasper for details (cc'ed in this mail).
That would be absolutely fine, if there are any questions regarding the rendering test suite, feel free to ask me.
And just the mention another possible source for test images, the bug tracker also has some images that might be usable. It might be necessary to alter the images a bit to make them suitable for automated testing though, or you may have to generate a reference image.
participants (2)
-
unknown@example.com
-
Jasper van de Gronde