Description
Mini-database Program Testing
| Requirements | Test Case/data | Expected Output | Observed Output /Comment |
| Read from a file | Employee.db | Successfully reads from file | |
| Write to file | Employee.db | Succesfully writes to file | |
| RETRIEVE | last name: wang | Display all employees with last name wang | Sophie Wang
Peter Wang |
| first name: | Sophie,Peter | ||
| SSN: | |||
| Birth date: | |||
| Salary | |||
| DELETE | The employee was deleted successfully | << | |
| UPDATE | The employee was updated successfully | << | |
| INSERT | The employee was successfully inserted into the database | ||
| QUIT | Are you sure you want to exit? Changes will be written to the database | ||
| Input validation | Menu validation: | yes | |
| Insert field validation: | yes | ||
| Insert duplication check: | yes | ||
| Update field validation:
– First and last name – SSN – Birth date – Salary |
Yes all validated through auxiliary functions | ||
| Update confirmation: | yes | ||
| Delete confirmation: | yes | ||
| Use functions | yes | ||
| Use linked list | no | ||
| Use classes | yes | ||
| Proper variable names | yes | ||
| Proper indentation | yes | ||
| Proper header and inline comments | yes | ||
| No global variables | yes | ||
| Friendly user interface | yes |



