[Qgis-developer] rendering tests, what's the latest approach ?

Sandro Santilli strk at keybit.net
Thu Nov 12 11:16:54 PST 2015


On Thu, Nov 12, 2015 at 05:01:21PM +0100, Matthias Kuhn wrote:
> On 11/12/2015 04:48 PM, Sandro Santilli wrote:
> >
> > To be honest, I like the idea of rendering tests. I know they are
> > fragile in their current incarnation, but being a graphical
> > application having tests actually check what the user would see
> > is a good way to catch many issues.
>
> They won't go away. And there are good reasons for them sometimes. They
> just have been used as roundhousekick tests for everything in the past.
> But if every developer shortly asks himself if
>  * there is no other possibility to test a particular thing
>  * tries to reduce the noise in the picture as much as possible
>    it's fine to have some of them.

I was actually thinking it would be nice to make producing such
tests easier, by allowing to just drop a .qgs project file in a
dir and have that trigger rendering on a small output image to
compare against a reference image.

Right now it takes sooo much time to write such tests

--strk; 


More information about the Qgis-developer mailing list