Login Test
Borrowing test
Find a book test
Add a book test
The test results are as follows:
1 System Login Test
Enter an empty user name or password, prompting the error "User name or password cannot be empty". Enter the wrong administrator or operator's secret user name or password, and prompt for "wrong user name or password, please re-enter".
2. System Management Module Test
After testing, the Management module function is implemented correctly.
3. Modify Password function test
The administrator modifies the password section, enters an empty original password or an empty new password or an inconsistent new password, prompting "the administrator name or password cannot be blank, and the new administrator password cannot be entered twice." Enter the wrong original password, a valid new password, prompt "Administrator name or Administrator password error, please re-enter". Enter the new administrator password (more than 20) the first 20 bits of the password that are valid after the modification, stating that the password is valid for a length of 20 characters. However, the system does not have error prompts.
The administrator changes the password section, enters the empty original password or the blank new password or the inconsistent new password, prompts "the user name or the password cannot be empty, and the new administrator password cannot enter the difference twice". Enter the wrong original password, a valid new password, prompt "User name or password error, please re-enter". Enter a new user name password (more than 20) its modified valid password portion is the first 20 bits, which indicates that the password is valid for a length of 20 characters. However, the system does not have error prompts.
4. Book entry, delete test
Enter an empty book number or inventory quantity to indicate that the update was unsuccessful "book Number cannot be empty"; "Inventory quantity is not in the correct format." Input the same ISBN can be updated successfully, does not meet the requirements conditions.
5 Query Test
Enter the wrong query field value to detect an error: Display errors. Enter an exact query field value to detect whether the result is accurate: accurate. Enter the fuzzy query value to detect whether the query results are complete: The query results are complete.
6 Book Search test
Enter the wrong query field value to detect an error: Display errors. Enter an exact query field value to detect whether the result is accurate: accurate. Enter the fuzzy query value to detect whether the query results are complete: The query results are complete.
7 Borrowing Test
Lose the book number that does not exist, does not display. Enter an empty book number or user name, enter the book number for stock 0, do not show
8 Return Test
Enter the book number that the reader has not borrowed and has returned, showing the directory of the book.
For testing this part, the study time is short, the ability is limited only to carry on partial test, plus near the exam, so do a little rough, but the follow-up time will fill it up, hope to see the students a lot of understanding.
Testing and commissioning