Joe Strazzere - All Things Quality

April 15, 2006 - General Input Tests for Date Fields

Posted in QA

 

 

 

Here are some routine tests to try for a date field.
 

Decide which of the following are relevant for your input field and use them.

 

If you are using an automated test tool, these values can easily be used exhaustively, or randomly, by a test script:

  • 0/0/0000
  • (yesterday)
  • (today)
  • (today with all leading zeros, like 01/01/2006) 
  • (tomorrow)
  • (same day last week)
  • (same day next week)
  • (same day last month)
  • (same day next month)
  • (same day last year)
  • (same day next year)
  • (Jan 1 this year)
  • (Dec 31 this year) 
  • (Jan 1 last year)
  • (Dec 31 last year) 
  • (Jan 1 next year)
  • (Dec 31 next year) 
  • 1/1/1999
  • 12/31/1999
  • 1/1/2000
  • 2/28/2000
  • 2/29/2000
  • 2/30/2000
  • 2/31/2000 
  • 3/1/2000
  • 12/31/2000
  • 1/1/2001
  • 1/1/202 
  • 2/28/2004
  • 2/29/2004
  • 3/1/2004
  • 12/31/2004
  • 9/9/9999
  • 2/29/2001 
  • 4/31/2001
  • 9/31/2001 
  • 2/29/2100
  • 13/1/2006
  • 00/1/2006
  • 01/32/2006
  • 01/00/2006

 

  • June 5, 2001
  • 06/05/2001
  • 6/5/2001
  • 06/05/01
  • 6/5/01
  • 06-05-01
  • 06-05-2001
  • 6-5-01
  • 6-5-2001

<- Last Page :: Next Page ->

About Me

A gathering place for information and ideas about Quality Assurance, Testing, and other useful topics.

Problems cannot be solved by the same level of thinking that created them. - A. Einstein

Search This Site

Translate This Site

RSS Feed

Subscribe

Twitter

@jstrazzere

Categories

Life
QA
Sports
Tools
WinTask
Work in General

What I'm Reading Now