taskMapOSMatic - Tasks: task #10094, A unittest framework for...

 
 

task #10094: A unittest framework for ocitysmap, covering i18n classes

Submitted by:  Jeroen van Rijn <jvrnix>
Submitted on:  Wed 13 Jan 2010 07:58:51 PM UTC  
 
Should Start On: Wed 13 Jan 2010 12:00:00 AM UTCShould be Finished on: Wed 13 Jan 2010 12:00:00 AM UTC
Category: ocitysmapPriority: 5 - Normal
Status: In ProgressPrivacy: Public
Percent Complete: 0%Assigned to: Jeroen van Rijn <jvrnix>
Open/Closed: OpenRelease: None
Effort: 0.00

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Wed 13 Jan 2010 07:58:51 PM UTC, original submission:

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.

Jeroen van Rijn <jvrnix>
Project MemberIn charge of this item.

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by jvrnix (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    No Changes Have Been Made to This Item

    Back to the top


    Powered by Savane 3.1-cleanup1