From 0d711c91b81b995e586319685bfe8d69e538db3f Mon Sep 17 00:00:00 2001 From: CYX22222003 Date: Thu, 7 Nov 2024 23:30:38 +0800 Subject: [PATCH 1/3] Add instructions for manual testing --- docs/DeveloperGuide.md | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/docs/DeveloperGuide.md b/docs/DeveloperGuide.md index a79802d0b12..9f121ed064e 100644 --- a/docs/DeveloperGuide.md +++ b/docs/DeveloperGuide.md @@ -565,15 +565,16 @@ testers are expected to do more *exploratory* testing. 1. Other incorrect delete commands to try: `delete`, `delete x`, `...` (where x is larger than the list size)
Expected: Similar to previous. -1. _{ more test cases …​ }_ - -### Saving data +### Undoing the last operation +1. Undoing an execution that modifies the CampusConnect data + 1. Prerequisites: Perform any operation that modifies the state (all executions except for list and find) to ensure there is an action to undo. -1. Dealing with missing/corrupted data files + 1. Test case: undo + Expected: The last operation is undone, restoring the previous state. The list updates accordingly, and a status message confirms the undo action. The timestamp in the status bar is updated. - 1. _{explain how to simulate a missing/corrupted file, and the expected behavior}_ + 1. Test case: undo immediately after starting the application (with no operations performed) + Expected: No undo operation is performed. An error message appears in the status message, indicating there is no action to undo. The status bar remains unchanged. -1. _{ more test cases …​ }_ -------------------------------------------------------------------------------------------------------------------- ## **Future features** From 324be12fa3115842f504d1d5eddbb78550536fde Mon Sep 17 00:00:00 2001 From: CYX22222003 Date: Fri, 8 Nov 2024 00:24:45 +0800 Subject: [PATCH 2/3] Remove unnecessary terms generated by AI --- docs/DeveloperGuide.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/DeveloperGuide.md b/docs/DeveloperGuide.md index 971410b9f77..06d91e45a2a 100644 --- a/docs/DeveloperGuide.md +++ b/docs/DeveloperGuide.md @@ -560,7 +560,7 @@ testers are expected to do more *exploratory* testing. 1. Prerequisites: Perform any operation that modifies the state (all executions except for list and find) to ensure there is an action to undo. 1. Test case: undo - Expected: The last operation is undone, restoring the previous state. The list updates accordingly, and a status message confirms the undo action. The timestamp in the status bar is updated. + Expected: The last operation is undone, restoring the previous state. The list updates accordingly, and a status message confirms the undo action. 1. Test case: undo immediately after starting the application (with no operations performed) Expected: No undo operation is performed. An error message appears in the status message, indicating there is no action to undo. The status bar remains unchanged. From 6466826220e9cd80b6cb94108d01e6272cd09d75 Mon Sep 17 00:00:00 2001 From: CYX22222003 Date: Fri, 8 Nov 2024 00:34:17 +0800 Subject: [PATCH 3/3] Remove unnecessary terms again --- docs/DeveloperGuide.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/DeveloperGuide.md b/docs/DeveloperGuide.md index 06d91e45a2a..1cea88f4450 100644 --- a/docs/DeveloperGuide.md +++ b/docs/DeveloperGuide.md @@ -547,7 +547,7 @@ testers are expected to do more *exploratory* testing. 1. Prerequisites: List all persons using the `list` command. Multiple persons in the list. 1. Test case: `delete 1`
- Expected: First contact is deleted from the list. Details of the deleted contact shown in the status message. Timestamp in the status bar is updated. + Expected: First contact is deleted from the list. Details of the deleted contact shown in the status message. 1. Test case: `delete 0`
Expected: No person is deleted. Error details shown in the status message. Status bar remains the same. @@ -563,7 +563,7 @@ testers are expected to do more *exploratory* testing. Expected: The last operation is undone, restoring the previous state. The list updates accordingly, and a status message confirms the undo action. 1. Test case: undo immediately after starting the application (with no operations performed) - Expected: No undo operation is performed. An error message appears in the status message, indicating there is no action to undo. The status bar remains unchanged. + Expected: No undo operation is performed. An error message appears in the status message, indicating there is no action to undo. -------------------------------------------------------------------------------------------------------------------- ## **Appendix: Future features**