Skip to content

Commit ad01364

Browse files
authored
Merge pull request #283 from vanphuc1201/branch-add-manual-testing-for-DG-for-Event
Add manual testing for event
2 parents 3d50a20 + a777e33 commit ad01364

File tree

1 file changed

+38
-2
lines changed

1 file changed

+38
-2
lines changed

docs/DeveloperGuide.md

Lines changed: 38 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -779,7 +779,7 @@ testers are expected to do more *exploratory* testing.
779779

780780
1. Deleting a contact while all contacts are being shown
781781

782-
1. Prerequisites: List all contacts using the `list-contacts` command. Multiple contacts in the list.
782+
1. Prerequisites: List all contacts using the `list-contacts` command. Multiple contacts in the contact list.
783783

784784
1. Test case: `delete-contact 1`<br>
785785
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.
@@ -790,6 +790,15 @@ testers are expected to do more *exploratory* testing.
790790
1. Other incorrect delete commands to try: `delete-contact`, `delete-contact x`, `...` (where x is larger than the contact list size)<br>
791791
Expected: Similar to previous.
792792

793+
### Editing a contact
794+
795+
1. Edit a contact while all contacts are being shown
796+
797+
1. Prerequisites: must have at least one contact in the contact list
798+
799+
1. Test case: `edit-contact 1 n/mary`<br>
800+
Expected: Fist contact name in the contact list should change to mary
801+
793802
### Listing all groups
794803

795804
1. Listing all the groups
@@ -826,7 +835,7 @@ testers are expected to do more *exploratory* testing.
826835

827836
1. Deleting a group while all groups are being shown
828837

829-
1. Prerequisites: List all groups using the `list-groups` command. Multiple groups in the list.
838+
1. Prerequisites: List all groups using the `list-groups` command. Multiple groups in the group list.
830839

831840
1. Test case: `delete-group 1`<br>
832841
Expected: First group is deleted from the list. Name of the deleted group shown in the status message. Timestamp in the status bar is updated.
@@ -945,6 +954,33 @@ testers are expected to do more *exploratory* testing.
945954
1. Test case: `delete-repo 1`<br>
946955
Expected: You should see the green `repo link` disappear in the first group.
947956

957+
### Adding an event
958+
959+
1. Add an event to a specified group
960+
961+
1. Prerequisites 1: List all groups using the `list-groups` command. Multiple groups in the group list.
962+
963+
1. Test case: `add-event 1 d/abc`<br>
964+
Expected: The status message show: `New event: 'abc' added to group: <1st GROUP NAME>`, an event `abc` appear in the group card of the 1st group.
965+
966+
### Deleting an event
967+
968+
1. Delete a specified event from a specified group
969+
970+
1. Prerequisites 1: List all groups using the `list-groups` command. Multiple groups in the group list.
971+
972+
1. Test case: `delete-event 1 e/1`<br>
973+
Expected: The status message show: `Event: '<1st EVENT DESCRIPTION>' deleted from group: <1st GROUP NAME>`, the first event disappeared in the group card of the 1st group.
974+
975+
### Editing an event
976+
977+
1. Edit a specified event in a specified group
978+
979+
1. Prerequisites 1: List all groups using the `list-groups` command. Multiple groups in the group list.
980+
981+
1. Test case: `edit-event 1 e/1 d/efg`<br>
982+
Expected: The status message show: `Edited Event: '<1st EVENT DESCRIPTION>' in Group: <1st GROUP NAME>`, the first event change to `efg` in the group card of the 1st group.
983+
948984
### Saving data
949985

950986
1. Dealing with missing/corrupted data files

0 commit comments

Comments
 (0)