Skip to content

Commit

Permalink
Update DG.
Browse files Browse the repository at this point in the history
  • Loading branch information
laney0808 committed Apr 15, 2024
1 parent f919ab6 commit 57189e2
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions docs/DeveloperGuide.md
Original file line number Diff line number Diff line change
Expand Up @@ -611,9 +611,9 @@ testers are expected to do more *exploratory* testing.

1. Adding a person while all persons are being shown.
1. Prerequisites:
2. List all persons using the `list` command. Multiple persons in the list.
2. The person with NRIC `S1234567A` is not already created in the system.
3. The person with NRIC `T0234567C` is already created in the system.
1. List all persons using the `list` command. Multiple persons in the list.
1. The person with NRIC `S1234567A` is not already created in the system.
1. The person with NRIC `T0234567C` is already created in the system.
1. Test case: `create n/Alice Tan ic/S1234567A dob/1990-01-01 hp/12345678 a/123, Jurong West Ave 6, #08-111 s/F st/PENDING`<br>
Expected: A new person is added to the list. The result panel shows the details of the new person.
1. Test case: `create n/Bob Tan ic/T0234567C dob/1990-01-01 hp/12345678 a/123, Jurong West Ave 6, #08-111 s/M st/PENDING`<br>
Expand All @@ -622,7 +622,7 @@ testers are expected to do more *exploratory* testing.
Expected: A new person is not added to the list. The result panel shows an error message, indicating that the command format is invalid.
2. Adding a person while only some persons are being shown
1. Prerequisites:
2. Show only 1 person's details using the `find n/alex` command. One person is shown in the list.
1. Show only 1 person's details using the `find n/alex` command. One person is shown in the list.
1. Test case: `create n/Bob Tan ic/T0234567C dob/1990-01-01 hp/12345678 a/123, Jurong West Ave 6, #08-111 s/M st/PENDING`<br>
Expected: A new person is not added to the list. The result panel shows an error message, indicating that the person already exists in the system.
### Deleting a person
Expand All @@ -643,8 +643,8 @@ testers are expected to do more *exploratory* testing.
Expected: Similar to previous.
2. Deleting a person while only some persons are being shown
1. Prerequisites:
2. Show only 1 person's details using the `find n/alex` command. One person is shown in the list.
3. The person with NRIC `S1234567A` is already created in the system with a `create` command.
1. Show only 1 person's details using the `find n/alex` command. One person is shown in the list.
1. The person with NRIC `S1234567A` is already created in the system with a `create` command.
1. Test case: `delete S1234567A`<br>
Expected: The person is deleted from the list. The result panel shows the details of the deleted person. The list panel shows a full list of patients.

Expand Down Expand Up @@ -673,8 +673,8 @@ testers are expected to do more *exploratory* testing.
1. Finding a person by name, condition or address
1. Prerequisites:
1. The person with name `Alex Yeoh` exists in the system.
2. The person with condition `diabetes` exists in the system.
3. The person with address `123, Jurong West Ave 6, #08-111` exists in the system.
1. The person with condition `diabetes` exists in the system.
1. The person with address `123, Jurong West Ave 6, #08-111` exists in the system.
1. Test case: `find n/Alex Yeoh`<br>
Expected: The person with name `Alex Yeoh` is shown in the list. The result panel shows the details of the person.
1. Test case: `find con/diabetes`<br>
Expand Down

0 comments on commit 57189e2

Please sign in to comment.