[Project Test] Test for personal projects

Project 1: IM web version group chat system

The IM system is a web-based group chat tool that allows multiple people to log in and register through the same local area network to realize instant messaging. Its functions are similar to the web-based WeChat.
For the introduction of specific projects, see here --> IM chat room

The relevant test content for the project is as follows:

Requirement test : Analyze user needs to check whether the main functions are reasonable.
Interface test : Check whether the chat interface is beautiful.
Function test :

  1. Whether the new user can register successfully, whether there is a prompt when there is an error
  2. Can old users log in if they input correct information, and whether they are reminded if they input incorrect information
  3. Can a user in the system send messages to other users (group chat)
  4. After the user logs out, he can visit the login page again within 30 minutes, can he directly enter the chat page

Capacity test : the maximum number of people allowed by the system at the same time. Online
performance test : the response time when users log in under different conditions.
Stress test : the number of user requests and messages that the system can accept.
Security test : the user’s personal information Whether the security will not be leaked.
Stability test : Whether the interface is garbled when the user logs in and out multiple times in a short period of time.
Reliability test : The user sends multiple messages and whether all the information is successfully displayed on your page.
Fault tolerance test : Does the system have protective measures or can it trigger recovery methods under abnormal conditions?
Load test : users keep sending messages, and whether the system can forward all real-time success.
Usability test : Is login and registration easy to operate and easy to use
Document test : Use document Whether to ensure correctness, completeness, easy to understand and consistency

The specific test process for some functions is as follows

Use black box testing methods
  • Verify login registration function
    When completing the login and registration functions on the web page, I completed the project by using database management
  1. Test content: When the
    user registers, if the information entered is correct, insert the user information into the database. When the
    user logs in, if the information entered by the user is correctly found in the database, it will jump to the chat page, otherwise the user will be prompted to register
  2. Test process:
    use equivalence class division method to design test cases and execute test cases
  3. Test result:
    verify that the login and registration functions are complete, and the description of the restrictions on characters and length in the web page information is accurate
  4. Specific implementation and results show:

Verify login use case:

Effective equivalence class: Lastly enter the chat homepage.
User name exists and the password is correct: UID="Zhang San", passwd="123"
Invalid equivalence class: Last prompt error
a. User name or password is empty: UID=" " , Passwd="123"
b. User name does not exist: UID="Xiaobai", passwd="123"
c. User name exists, but passwords are inconsistent: UID="Zhang San", passwd="111"

Verify registration use case:

Effective equivalence class: Finally, it prompts that the registration is successful.
User name does not exist and the user name and password are not empty: UID="Xiaobai", passwd="123".
Invalid equivalence class: Finally, it prompts registration failure
. a. Registering an existing user Name: UID="Zhang San", passwd="123"
b. The username or password is empty: UID=" ", passwd="123"

Execute test cases

The result of executing the login case shows:
Insert picture description here
Insert picture description here

The result of executing the registration case shows:
Insert picture description here

System test
  • Within a certain period of time, you can log in to the homepage directly
    Test content: Users who have logged in can directly access the homepage when they re-enter the webpage within half an hour.
    Test process: After the user exits the chat page,
    they can log in again within half an hour. Test result: Users can chat directly, and the verification cookie save time is 30 minutes
    Insert picture description here

  • Verify communication function
    Test content: whether multiple people are allowed to log in, and whether the communication is normal.
    Test process: multiple people pass the correct registration and log in. Everyone sends a message in the chat room to observe whether other people can receive the
    test results: multiple logins are possible, And verify that the communication function is normal
    Insert picture description here

Project 2: AI intelligent voice assistant

AI voice assistant is a computer management tool that can chat with you by voice and also help you execute voice commands.
For the introduction of specific projects, see here--" AI Smart Assistant

The relevant test content for the project is as follows:

Requirement test : Analyze user needs to check whether the main functions are reasonable.
Interface test : Observe whether the output interface is neat and beautiful.
Function test :

  1. Can my voice be accurately converted into text after input
  2. After my text is output, can the system reply the text and accurately convert it into voice
  3. Can the system execute correctly after entering your own voice command
  4. Exit the program, whether it is normal when entering again

Capacity test : how many messages the system can reply to.
Performance test : user's response time
stress test of voice reply, speech recognition and speech synthesis in different situations : how long the system can accept user messages
Security test : user Whether the personal information of the user and the dialogue between us are safe and will not be leaked.
Stability test : Whether the system can operate normally when the user logs in and out multiple times in a short period of time.
Reliability test : Whether the user sends multiple messages and whether the system is all Respond to
fault tolerance test : whether the system has protective measures or can it trigger recovery means under abnormal conditions
Load test : users keep sending messages, whether the system responds to all messages.
Usability test : whether the system is convenient to use and whether the user group Extensive
document testing : whether the correctness, completeness, comprehensibility and consistency of the used documents are guaranteed

function test
  • Intelligent AI dialogue
    Insert picture description here

  • Execute voice commands
    Insert picture description here

Guess you like

Origin blog.csdn.net/ly_6699/article/details/99592279