[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Maposmatic-dev] [task #10094] A unittest framework for ocitysmap, cover

From: Jeroen van Rijn
Subject: [Maposmatic-dev] [task #10094] A unittest framework for ocitysmap, covering i18n classes
Date: Wed, 13 Jan 2010 19:58:52 +0000
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US) AppleWebKit/532.5 (KHTML, like Gecko) Chrome/ Safari/532.5


                 Summary: A unittest framework for ocitysmap, covering i18n
                 Project: MapOSMatic
            Submitted by: jvrnix
            Submitted on: Wed 13 Jan 2010 07:58:51 PM GMT
         Should Start On: Wed 13 Jan 2010 12:00:00 AM GMT
   Should be Finished on: Wed 13 Jan 2010 12:00:00 AM GMT
                Category: ocitysmap
                Priority: 5 - Normal
                  Status: In Progress
                 Privacy: Public
        Percent Complete: 0%
             Assigned to: jvrnix
             Open/Closed: Open
         Discussion Lock: Any
                  Effort: 0.00



I'm working on a unittest framework (and accompanying set of tests) for

- The framework will allow the testing of regressions and improvements of the
various i18n classes in ocitysmap/

- The framework will in time be expanded to additionally allow for finding
regressions in the rendering itself
-- Using for example a separate database covering a few cities and rendering
cities and bounding boxes from it, in the knowledge that the daily diffs won't
change the output and that any image who's checksum doesn't match a test case
has had its output changed for another reason.

- The framework will use standard python libraries: unittest, optparse,

Calling convention is flexible, but I'm thinking of something like:

/ocitysmap/location/runtests --suite i18n --locale <fr_FR, all>
---streetnames <fr_FR, all>

You can then for example run the French i18n class against all the unit tests
of all languages, in case someone wants to render a map of London with French
localisation. You could also run all languages against all languages.

More on that later as the framework starts to take shape.


Reply to this item at:


  Message sent via/by Savannah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]