On Thu, Jun 10, 2010 at 2:26 PM, Vangelis Katsikaros <vkatsikaros@...1244...> wrote:
A friend suggested this too some hours ago, and I 've playing with it all this time.
It does work as advertised and it's excellent for testing. I've been able to make inkscape run and do several GUI driven things.
I think it is an excellent and long overdue idea. Inkscape badly needs more automated testing if it doesn't want to die a slow death of bit rot and bug infestation.
If you can set up such a testing framework and commit it as part of the Inkscape codebase, and more importantly make it at least a part of "make check" (and ideally, it should be run automatically on every commit!) it would be a great step forward. Working on that does not require much familiarity with Inkscape code.
By the way, many things (though certainly not all) should be testable without any external framework at all. Inkscape has the --verb command line option that can run a sequence of verbs. All we need to do is design a number of good test cases and write the scripts that run verbs on given input files, save them, and compare the output with reference SVGs.