[Qgis-developer] Processing: module duplications

Alexander Bruy alexander.bruy at gmail.com
Tue Jun 24 00:27:28 PDT 2014


2014-06-24 10:18 GMT+03:00 Paolo Cavallini <cavallini at faunalia.it>:
>> 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


More information about the Qgis-developer mailing list