anitagraser / QGIS-Processing-tools

This is a collection of scripts and models for QGIS Processing
89 stars 55 forks source link

[testing] Add unit tests to scripts #10

Open brylie opened 9 years ago

brylie commented 9 years ago

None of the scripts appear to have unit tests. It might be worthwhile to choose a unit testing strategy and start adding basic tests to the scripts. This might entail some re-factoring, abstraction, and possibly merging of similar scripts (e.g. the point/line routing scripts).

anitagraser commented 9 years ago

I'm trying to get unit tests working (see https://github.com/anitagraser/QGIS-Processing-tools/commit/977ba0022850c53925abaee5871e13453424a730) but I'm having trouble making Processing find the user scripts.

I always get Error: Algorithm not found.