[Qgis-developer] Units tests for startup options?

Radim Blazek radim.blazek at gmail.com
Wed Jul 3 11:03:21 PDT 2013


On Thu, Jun 13, 2013 at 9:20 AM, Régis Haubourg
<regis.haubourg at eau-adour-garonne.fr> wrote:
> Thanks Tim.
> You confirm it's possible? I'm absolutly not able to tell if it's possible
> to test it or not.

I don't think that it is possible to add test for src/app/main.cpp
into the system we are using for other tests. It would be necessary to
run qgis executable to test that options, but AFAIK qgis cannot be run
in noninteractive mode.

I have got recently close to this problem because I wanted to add a
test for functions in QgisApp. I added a new constructor to QgisApp,
qgis_app lib and it is possible to test QgisApp from test unit. I'll
add it in 2.1 (https://github.com/blazek/Quantum-GIS/commit/f5ebe855)

Radim


> Régis
>
>
>
> --
> View this message in context: http://osgeo-org.1560.x6.nabble.com/Units-tests-for-startup-options-tp5059643p5059866.html
> Sent from the Quantum GIS - Developer mailing list archive at Nabble.com.
> _______________________________________________
> Qgis-developer mailing list
> Qgis-developer at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-developer


More information about the Qgis-developer mailing list