tyx021 / pe

0 stars 0 forks source link

Inappropriate error message for non-zero index #4

Open tyx021 opened 1 year ago

tyx021 commented 1 year ago

To reproduce: patient detail 0

Expected: Index is not a non-zero unsigned integer.

Actual: Invalid command format

SS: image.png

However, appointment add --p 0 --s 2023-05-01 0700 --e 2023-05-01 0800 --v Dose 1 (Moderna) will display a more appropriate error message image.png

soc-se-bot commented 1 year ago

Team's Response

Specificity of error message: Error messages can be correct but not specific enough (e.g., it says the input is 'invalid' without giving the reason, or gives too many possible reasons without pointing out the specific reason). These cases can be considered type.FeatureFlaw.

Items for the Tester to Verify

:question: Issue type

Team chose [type.FeatureFlaw] Originally [type.FunctionalityBug]

Reason for disagreement: [replace this with your explanation]