pip install picka - Picka is a python based data generation and randomization module which aims to increase coverage by increasing the amount of tests you _dont_ have to write by hand.
The first international effort will be including a canadian data-set. I have started the process of acquiring canadian specific data. Ideally this will be released in 0.97.
I'm not sure if this is a real issue, but when I look at this module I cannot do so with a straight face. "Picka" is "cunt" in Serbian, Macedonian, Bosnian, Croatian, and I'm unsure as to whether there are other languages where this holds.
While not grounds for any specific action, I find this largely amusing and just wanted to share.
Currently, the database is not very large but it will grow to a hefty size with the inclusion of foreign language data. Should this be packaged in with picka by default, or should the additional language databases be distributed outside of the main application/db.
The library assumes an English locale is used (e.g., English-language hardcoded month names). Ideally the library would use locale-dependent constants so that computations are done correctly (e.g., the duration of a month in month_and_day):
An identity would return an identity object when instantiated which would consist of the following fields:
Title
First Name
Middle Initial
Last Name
Full Name
Company
Position
Address Line 1
Address Line 2
City
State / Province
Country
Zip
Home Phone
Work Telephone
Fax
Cell Phone
E-mail
Web Site
ICQ Number
User ID
Password
Password Question
Password Answer
Credit Card Type
Credit Card Number
Card Expiration Date
Card User Name
Card Issuing Bank
Card Customer Service Phone
Sex
Social Security Number
Driver License Number
Date Of Birth
Age
Birth Place
Income
Custom Message
Comments
If I call picka.age(1, 1) repeatedly I get 1 and 2 as results. I would have expected it to always return 1. Note that this situation can occur when passing variables to picka.age, I don't expect people to write this in their code themselves.
I can also get ages outside of the bounds when I call picka.age(0, 1) which resorts to using the default values and can therefore return any age within the default values.