Skip to content

Commit

Permalink
Merge pull request #216 from ChillinRage/bugs-fix
Browse files Browse the repository at this point in the history
Add testing to dev guide
  • Loading branch information
ChillinRage authored Apr 15, 2024
2 parents 18c3a5d + 28931f6 commit eb56d38
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions docs/DeveloperGuide.md
Original file line number Diff line number Diff line change
Expand Up @@ -480,6 +480,32 @@ testers are expected to do more *exploratory* testing.
1. Re-launch the app by double-clicking the jar file.<br>
Expected: The most recent window size and location is retained.

### Adding contacts

1. Adding a contact while all contacts are being shown

Prerequisites: All existing contacts are to be cleared using `clear` command. This is to ensure no clashing of contact names while testing.

1. Test case: `add n/Joe Bama e/[email protected] r/STUDENT c/CS2103T a/In the walls p/91234567`<br>
Expected: New contact with the specified descriptions added to the list and shown in the application.

1. Test case: `add n/Donald Frump e/[email protected] r/TA c/CS2101`<br>
Expected: Similar to previous, except the "phone" and "address" fields now show `(no phone number)` and `(no address)` respectively.

1. Test case: `add n/Hilarious Blipton e/[email protected] c/DSA1101`<br>
Expected: Contact is not added. Error details shown in the status message.

1. Test case: `add n/Hilarious Blipton e/FAKEEMAIL r/STUDENT c/DSA1101`<br>
Expected: Similar to previous.

1. Test case: `add n/Joe Bama e/[email protected] r/STUDENT c/CS2103T a/In the walls p/91234567`<br>
Expected: Similar to previous. (This test must be done after the first test case)

1. Test case: `add n/Hilarious Blipton n/Not Elden Clinton e/[email protected] r/STUDENT c/DSA1101`<br>
Expected: Similar to previous.

1. Other incorrect add commands to try: `add`, `adding ...`, `...`.<br>
Expected: Similar to previous.

### Deleting contacts

Expand Down

0 comments on commit eb56d38

Please sign in to comment.