2014-06-24 10:18 GMT+03:00 Paolo Cavallini <[email protected]>: >> This raise the question of unit tests, and maybe of a vote/rating system. Do >> we have that for processing modules? > > Not (yet); IMHO Processing modules and models should mimic much of the > structure of > plugins, perhaps sharing some of the same interface. > All the best.
Processing has simple test subsystem and every user can contribute tests to it. Just run desired algorithm using test data (can be found in processing/tests/data or loaded via "Load test data" algorithm. If some data not exists — add them, but try to keep it as small and generic as possible), then open History and Log dialog, select command and from context menu choose "Create test". Unfortunatelly, this test subsystem does not intergrated into QGIS tests, so tests did not run at QGIS build time -- Alexander Bruy _______________________________________________ Qgis-developer mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/qgis-developer
