Hi all I was wondering what the general feeling about unittests are?
In my work, I have found unittests (and test driven development, but this mail is not about that) to be a very valuable tool. Unittests both document the intentions of the code, makes it easier to add functionality without breaking the existing functionality and related to this, work as a poor-mans regression test tool. As kdenlive is clearly very much a GUI program major parts of kdenlive can not be unittested. However, some parts can. Right now I would like to create a unit test for part of the KdenliveDoc::convertDocument() function. I am capable of doing this, but would like to know beforehand if it would be OK with all? (Especially JB, I reckon). Also, what framework to use? I have experience with ccpunit and boost, but I reckon QtTestLib would be better to use for Kdenlive? http://developer.kde.org/documentation/tutorials/writingunittests/writingunittests.html Comments welcome. Regards Mads -- Mads Bondo Dydensborg m...@dydensborg.dk http://www.madsdydensborg.dk/ Those who have challenged the inequalities of global trade have pointed to the fact that some of the world's richest nations once used tariff barriers to devastating effect in building their economies. But the history of patent protection suggests that that is not the only means by which the rich nations have raised the drawbridge after entering the castle. When it suits the rich countries to impose free trade, they do so. When it suits them to impose protectionism, they argue that this is the only path to development. But woe betide the poor nation which seeks to apply the lessons of the past. - George Monbiot on Patent nonsense ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ Kdenlive-devel mailing list Kdenlive-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/kdenlive-devel