Third week job-personal project black box test

Source: Internet
Author: User

Black-Box testing is a test of software implementation from outside the software, also known as a functional test or a specification-based test. It sees all the programs as a mapping from the input definition domain to the output range, which sees the program as a black box that cannot be opened, and the contents of the black box are completely unknowable, as long as you know what the software is going to do. Unable to see the contents of the box, so do not know how the software is implemented, do not care about the structure inside the black box, only concerned about the software input data and output results.

Common black-box test methods include equivalence class partitioning, boundary value analysis, decision table testing, and so on.

The following method of equivalence class partitioning is used to test individual projects (PCAI login registration module).

Input criteria

Valid equivalence classes

Invalid equivalence class

Account name 6-24-digit alphanumeric combination

Mailbox input requires mailbox format

Password length 6-32-bit characters do not contain common weak passwords

  1. Account name 9-bit Pure digital
  2. Mailbox QQ Mailbox Style
  3. Password 6-bit pure digital

4. User name input contains symbol

5. User name input characters less than 6 bits

6. User name input characters greater than 24 bits

7. User name input already exists in database

8. The mailbox input string does not contain @

9. The mailbox input string ends at @

10. Mailbox @ After string informal domain name

11. Password input characters less than 6 bits

12. Password input characters greater than 32 bits

13. Password input character is 123456 and other common weak password

Test Cases

Enter information

Expected output

overriding equivalence classes

Actual output

Test1

Account Number: 297275116

Email: [Email protected]

Password: 159753

Registration successful

The

Registration successful

Test Cases

Enter information

Expected output

overriding equivalence classes

Actual output

Test2

Account Number: 2972#¥@#

Email: [Email protected]

Password: 159753

Incorrect user name format

2,3,4

Incorrect user name format

Test3

Account Number: 297

Email: [Email protected]

Password: 159753

Incorrect user name format

2,3,5

Incorrect user name format

Test4

Account Number: 297275116297275116297275116

Email: [Email protected]

Password: 159753

Incorrect user name format

2,3,6

Incorrect user name format

Test5

Account Number: 297275116

Email: [Email protected]

Password: 159753

User name is registered

2,3,7

User name is registered

Test6

Account Number: 297275116

E-mail: 297275116qq.com

Password: 159753

The mailbox format is not correct

1,3,8

The mailbox format is not correct

Test7

Account Number: 297275116

Email: [Email protected]

Password: 159753

The mailbox format is not correct

1,3,9

The mailbox format is not correct

Test8

Account Number: 297275116

Email: [Email protected]

Password: 159753

The mailbox format is not correct

1,3,10

The mailbox format is not correct

Test9

Account Number: 297275116

Email: [Email protected]

Password: 159

Password cannot be less than 6 bits

1,2,11

Password cannot be less than 6 bits

Test10

Account Number: 297275116

Email: [Email protected]

Password: 159454564231456423123564453453

Password length greater than 32 bits

1,2,12

Password length greater than 32 bits

Test11

Account Number: 297275116

Email: [Email protected]

Password: Password

Password strength is too low

1,2,13

Password strength is too low

  

Project Address: Https://netsh.top/PCAI

Currently only completed login and registration module, forgotten password and user activation as a team project completion will be added successively.

Third week job-personal project black box test

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.