Hi Anita > On 13 Mar 2016, at 12:32, Anita Graser <[email protected]> wrote: > > Hi Matthias, > > How can I check whether my test works before I create a PR?
if you have a build environment on your pc you can do something like this from in your build directory: ctest -R Processing If you don’t have a build environment you could set up travis to work against your own repo too so that it builds against your master branch before you make a PR. Regards Tim > > Thanks and best wishes, > Anita > > > > On Tue, Feb 23, 2016 at 12:58 PM, Matthias Kuhn <[email protected] > <mailto:[email protected]>> 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 > > <https://github.com/qgis/QGIS/blob/master/python/plugins/processing/tests/README.md> > > > -- > Matthias Kuhn > OPENGIS.ch - https://www.opengis.ch <https://www.opengis.ch/> > Spatial • (Q)GIS • PostGIS • Open Source > > > > _______________________________________________ > Qgis-developer mailing list > [email protected] <mailto:[email protected]> > List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer > <http://lists.osgeo.org/mailman/listinfo/qgis-developer> > Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer > <http://lists.osgeo.org/mailman/listinfo/qgis-developer> > > _______________________________________________ > Qgis-developer mailing list > [email protected] > List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer > Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer — Tim Sutton Visit http://kartoza.com <http://kartoza.com/> to find out about open source: * Desktop GIS programming services * Geospatial web development * GIS Training * Consulting Services Skype: timlinux Irc: timlinux on #qgis at freenode.net Tim is a member of the QGIS Project Steering Committee Kartoza is a merger between Linfiniti and Afrispatial
signature.asc
Description: Message signed with OpenPGP using GPGMail
_______________________________________________ Qgis-developer mailing list [email protected] List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer
