[Qgis-developer] Python tests and C++ tests for the same functionality

Sandro Santilli strk at keybit.net
Sat Nov 8 07:06:25 PST 2014


On Sat, Nov 08, 2014 at 02:30:23PM +0100, Matthias Kuhn wrote:

> While working on the test suite and trying to get all tests to pass I
> realized that there are a lot of tests that exist in two versions: C++
> and python (e.g. composerhtml, atlas composition). The problem with that
> is, that they work on the same set of reference images and either one or
> the other fails because of slight inconsistencies in the result (nothing
> we should worry about, see e.g. [1]). I don't know exactly, what the
> source of these is, I assume that either there are some
> rounding/floating point differences in the python API or that meanwhile
> one or the other test was modified but not both synchroneously.
> 
> What can we do?

I think it'd be useful to figure out the source of the problem before
deciding on a solution. 

--strk;


More information about the Qgis-developer mailing list