maposmatic-dev
[Top][All Lists]
Advanced

[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/4.0.249.43 Safari/532.5

URL:
  <http://savannah.nongnu.org/task/?10094>

                 Summary: A unittest framework for ocitysmap, covering i18n
classes
                 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

    _______________________________________________________

Details:

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

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

- 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,
logging

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:

  <http://savannah.nongnu.org/task/?10094>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/





reply via email to

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