Python date string testing
In my python based application, user can enter dates in format of dd/mm/yy
with date separator variations(like they can use /,- or space as a
seperator). Therefore all these are valid dates:
10/02/2009
07 22 2009
09-08-2008
9-9/2008
11/4 2010
03/07-2009
09-01 2010
Now in order to test it, I need to create a list of such dates, but I am
not sure how to auto generate random combinations of these date strings
with seperators.
No comments:
Post a Comment