[Qgis-developer] Processing tests

Anita Graser anitagraser at gmx.at
Sun Mar 13 03:32:38 PDT 2016


Hi Matthias,

How can I check whether my test works before I create a PR?

Thanks and best wishes,
Anita



On Tue, Feb 23, 2016 at 12:58 PM, Matthias Kuhn <matthias at opengis.ch> wrote:

> You have probably noticed that recently some tests for processing have
> been included.
>
> They run geo-algorithms and check if their result matches with what is
> expected.
>
> It is very easy to expand this suite. Test definitions are written in
> the form of yaml. Templates for this definitions can be created from the
> processing history. There are some possibilities to fine-tune the
> comparison (e.g. skip fields, allow values to be compared with an
> epsilon, match a result file with a series of regular expressions...)
> which have been added more recently. At the moment it runs tests for
> some qgis algorithms and gdal algorithms.
>
> If you have 5 minutes to spare today, please help and add a test!
>
> More information can be found in our blog [1] and the readme [2].
>
> Thanks a lot,
> Matthias
>
>
> https://github.com/qgis/QGIS/blob/master/python/plugins/processing/tests/README.md
>
>
> --
> Matthias Kuhn
> OPENGIS.ch - https://www.opengis.ch
> Spatial • (Q)GIS • PostGIS • Open Source
>
>
>
> _______________________________________________
> Qgis-developer mailing list
> Qgis-developer at lists.osgeo.org
> List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20160313/bfaa2686/attachment.html>


More information about the Qgis-developer mailing list