[Qgis-developer] Testing and releases

Mayeul Kauffmann mayeul.kauffmann at free.fr
Wed Jun 8 16:47:37 EDT 2011


Hi,
Some time ago I used xmacro (a Keyboard/mouse macro utility) to create a
set of screenshots for a software (GanttProject) in about 15 languages;
then it was integrated in OpenOffice documents with relative links.
In my experience only the keyboard part was reliable, which requires to
have unique and stable keyboard shortcuts for every single menu and
dialog box, which is currently very far to be the case (improvements
here will also improve usability and user productivity). Interaction in
the map canvas is more problematic here.

There is also this from the qt manual:
http://doc.trolltech.com/4.8-snapshot/gettingstarted-develop.html#testing-qt-applications
including this which supports mouse and keyboard simulation:
http://doc.trolltech.com/4.8-snapshot/qtestlib-manual.html



Mayeul

Le mercredi 08 juin 2011 à 11:48 -0700, Mars Sjoden a écrit :
> I would be interested in participating as "dumb user", 
> 
> 
> The 'black box' sounds interesting and a way to organize dumb users
> for debugging/edu/user docs/ergonomics
> 
> 
> mars
> 
> On Wed, Jun 8, 2011 at 11:13 AM, MALIK Julien <julien.malik at c-s.fr>
> wrote:
>         Hello,
>         
>         Do you know about Sikuli ?
>         http://sikuli.org/
>         
>         I never tested it, but it seems very nice for the "black box"
>         testing, and can probably handle the automatic screenshot
>         generation.
>         
>         Cheers,
>         Julien
>         
>         
>         
>         Quoting Andrew Chapman <andrew.chapman at donkagen.co.uk>:
>         
>                 I think that there are (at least) two different types
>                 of testing that are
>                 valuable for a project like QGIS and both play
>                 important roles. Different
>                 people use different names, but here's my version...
>                 1) White box: This is very much in the hands of the
>                 developer and is aimed
>                 at proving the functionality of their code - stop the
>                 bug before it gets out
>                 of your own hands. This type of testing knows how the
>                 code should work and
>                 typically, among other things, explores the boundary
>                 conditions.
>                 2) Black box: This has no special knowledge of how the
>                 internals works and
>                 tests as a dumb user... that can be relied on to
>                 provide the same test
>                 coverage every time. One obvious use of this is for
>                 regressions testing of
>                 the finished build, but I would suggest that with
>                 minor enhancements it
>                 could be used to help ease some of the user
>                 documentation tasks.
>                 QGIS supports multiple languages and operating
>                 systems, is released
>                 regularly but, consequently, it is hard to produce
>                 user manuals and
>                 tutorials with the most appropriate screen shots, etc.
>                 If a "black box" type of test harness were developed
>                 that could be "trained"
>                 (e.g. recording keystrokes and mouse commands with a
>                 way to edit them) plus
>                 the ability to capture images of screen objects
>                 (windows, dialogs, buttons,
>                 icons) and save them to named files, this would
>                 present further
>                 opportunities. The same test (script?) could be run on
>                 builds for different
>                 operating systems, languages and versions. A standard
>                 set of build specific
>                 images would be generated and, assuming standard file
>                 names and locations,
>                 could automatically be imported into the various user
>                 documents. There would
>                 still need to be some manual text editing, but the
>                 labour intensive
>                 screenshot processing would be removed.
>                 This must be a common requirement across projects, has
>                 anyone come across
>                 any tools that already exist?
>                 Andrew Chapman
>                 
>                 _______________________________________________
>                 Qgis-developer mailing list
>                 Qgis-developer at lists.osgeo.org
>                 http://lists.osgeo.org/mailman/listinfo/qgis-developer
>                 
>                 
>         
>         
>         
>         
>         ----------------------------------------------------------------
>         This message was sent using IMP, the Internet Messaging
>         Program.
>         
>         
>         
>         
>         _______________________________________________
>         Qgis-developer mailing list
>         Qgis-developer at lists.osgeo.org
>         http://lists.osgeo.org/mailman/listinfo/qgis-developer
>         
> 
> 
> _______________________________________________
> 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