[Qgis-developer] Deliberate errors, but Travis passes

Tom Chadwin tom.chadwin at nnpa.org.uk
Tue Sep 8 06:36:38 PDT 2015


Hi Matthias

This is the very early stages of implementing unittest. In time, I will test
for expected results using assert methods. At the moment, though, all I want
this to achieve is to catch Python errors, to prevent my making releases
which crash. This is what I was doing before, and it worked as I needed: if
the plugin gave a Python error, Travis failed - if not, it passed. This no
longer seems to work, though - as I say, if I introduce a deliberate error
to the code, and confirm that the plugin gives a Python error, Travis
nevertheless passes.

Thanks

Tom



--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Deliberate-errors-but-Travis-passes-tp5223114p5223142.html
Sent from the Quantum GIS - Developer mailing list archive at Nabble.com.


More information about the Qgis-developer mailing list