[Qgis-developer] quality control

Sandro Santilli strk at keybit.net
Wed May 25 16:06:46 EDT 2011


I've just found out there are tests.
When run, many failed, including segfaults.

Is it possible that the tests are too hard to run ?
If I recall correctly you need:
 1) an explicit flag in cmake to enable (-D ENABLE_TESTS=1)
 2) qgis installed (won't run before installing)
 3) Desktop environment running ? (not sure, but my browser opened
    many windows with reports)

I think having a simple way to run regression suite would help
stability of the application. Ideally everyone should run it and
make sure there's no unexpected failure before pushing changes.

How can it be improved ?
My suggestions:

 1) Make support for testing enabled by default
 2) Allow running tests _without_ installing qgis,
    and when an older version is installed, making sure
    the version in the build tree will be tested...
 3) Do not _require_ a desktop environemnt (not sure it is)
 4) Make it (also) available as 'make check' [ more standard name ] ;)

Comments ?

--strk;

  ()   Free GIS & Flash consultant/developer
  /\   http://strk.keybit.net/services.html


More information about the Qgis-developer mailing list