Day03_20- software testing job the first time

problem:

  Document management system requires the user to enter a monthly date representation. Assume that blackouts in January 1990 --2049 In December 2009, the provisions of date by six characters, the first four is the year, after two for the month. Using test cases equivalence class division method to test the program "check date."

 

Input conditions

effective

Numbering

invalid

Numbering

In the years between 1990-2049

1990-2049

01

Less than 1990

05

 

 

 

Greater than 2049

06

In the month between 1-12

1-12

02

Less than 1

07

 

 

 

Greater than 12

08

By the six characters

Front is four

03

Not 4 Wei

09

 

Followed by two

04

Not two

10

 

No.

Input parameters

Covering equivalence classes

Output parameters

 01

 202003

 01,02,03,04

 Entered correctly

 02

 188803

 02,03,04,05

 input error

 03

 205003

 02,03,04,06

 input error

04 

 202000

 01,03,04,07

 input error

05

 202013

 01,03,04,08

 input error

06

 20203

 01,02,03,09

 input error

07 

 188800

 03,04,05,07

 input error

08

 205000

 03,04,06,07

 input error

09

 188813

03,04,05,08

input error

10

 205013

03,04,06,08

input error

11

 20200

01,03,07,09

input error

Guess you like

Origin www.cnblogs.com/zwcg/p/12530903.html