kangqiao322 / pe

0 stars 0 forks source link

Students with the same emails can be added. #5

Open kangqiao322 opened 1 year ago

kangqiao322 commented 1 year ago

Emails should be unique to each person and students with the same emails but different names should not be allowed to be added to the list.

First student:

image.png

Second student:

image.png

Steps to reproduce:

1st step: type "add student n/John Doe p/9822222222 e/johnd@example.com a/311, Clementi Ave 2, #02-25 s/Keming Primary School l/Primary3 #/badBoy #/owesMoney"

2nd step: type "add student n/James Bond p/98765432 e/johnd@example.com a/311, Clementi Ave 2, #02-25 s/Keming Primary School l/Primary3 #/badBoy #/owesMoney"

nus-se-script commented 1 year ago

Team's Response

Consider a scenario where there are 2 students who are siblings who don't have their own email address and have to use their parent's / guardian's email address. Fun fact the minimum age for having an email address is 13 and above.

Items for the Tester to Verify

:question: Issue response

Team chose [response.Rejected]

Reason for disagreement: [replace this with your explanation]