yanghengtang / pe

0 stars 0 forks source link

Test case with multiple invalid input #10

Open yanghengtang opened 11 months ago

yanghengtang commented 11 months ago

For every negative test case, you would usually want to only have 1 invalid input while ensuring everything else is valid

In the following case, there is 2 invalid input: invalid index and missing parameters.

Screenshot 2023-11-17 at 5.32.29 PM.png

Screenshot 2023-11-17 at 5.34.56 PM.png

Screenshot 2023-11-17 at 5.35.36 PM.png

A better way forward could be to split this into 2 test case for each invalid input.

nus-se-script commented 11 months ago

Your response not required for this bug as the team has accepted the bug as it is.