Evidence of Testing
Last updated
Last updated
Checking that a connection to the database can be established with the correct database URL and Password:
Checking that the appropriate error message is displayed if the connection to the database cannot be established.
Checking that a valid username and password combination is accepted when signing in.
Checking that an invalid username and password combination is rejected when signing in.
Checking that if the correct user credentials do not match to an administrator or secretary account, access to the Administrator Form is denied.te
Checking that the combination of correct credentials, along with the user type administrator or secretary hides the Log In form and displays the Administrator form.
Checking that an appropriate Absent Student list is generated and displayed without choosing a group.
Checking that an appropriate Absent Student list is generated and displayed given a selected group.
Checking that a .csv file is generated successfully at the selected file path.
Checking that a group selected results in the right list of students presented.
Checking that an error message is displayed when no group is selected to show its member students.
Check that an error message is displayed when no student is selected to be removed.
Check that an incorrectly structured .csv file has been selected.
Checking that a semester’s initial date is not later than the final date selected by the user.
Checking that all dates are added to the database in the “Semesters” and “Dates” tables.
Checking that an error message is displayed when no semester is selected to be removed.
Checking for appropriate error message when no group name was used to add a new group.
Checking that a group is added when an appropriate name has been entered.
Checking that an error message is displayed when no group is selected to be removed.
Checking that a single group and all its member students are deleted successfully.
Checking that two correctly structured .csv files have been selected.
Contents of test-part1.csv:
Contents of test-part2.csv:
Checking that a single user has been selected when uploading their schedule.
Checking that a single user has been selected when changing their password.
Checking that an empty password was not provided when changing password for a user.
Inserting the same password twice changes the current password of the user to the new one.
Looking up the user in the users table shows the updated password:
Inserting different passwords when changing the selected user’s password results in an error message.
Checking that a single user has been selected when deleting them from the database.
Selecting “Yes” in the popup window deletes the selected user from the database.
Selecting “No” in the popup window does not delete the user from the database.
Checking that a single lesson has been selected when removing it from the database.
Checking that a numeric ID results to creating a new lesson in the database.
Checking that a lesson is not created when a non-numeric lesson ID is provided.
Checking that a non-empty post text has been provided.
Checking that the current password and new passwords result in the password being changed.
Checking that the feed posts are fetched on launch.