jevancjk / ICT2201-P1-4

0 stars 0 forks source link

5.1 White-box testing #29

Open jevancjk opened 2 years ago

joash2808 commented 1 year ago

deadline 19th Nov

joash2808 commented 1 year ago

DRAFT 1

1 function createUser(email, password, pwdConfirm, role) { 2 input email 3 input password 4 input pwdConfirm 5 input role 6 if (email or password or pwdConfirm or role is NULL) { 7 alert(“Please fill in accordingly”) } 8 else { 9 if (password and pwdConfirm do not match) { 10 alert(“Your password confirmation does not match your password”) } 11 else { 12 Successful user creation } } 13 }// code exit

1 function createJob(date, time, route, coach) { 2 input date 3 input time 4 input route 5 input coach 6 if (date or time or route or coach field is NULL) { 7 alert(“Please fill in accordingly”) } 8 else { 9 Successful job creation } 10 }// code exit

joash2808 commented 1 year ago

Image

joash2808 commented 1 year ago

update only using the updated "createUser" issue and will not be using this issue