tyuyang / pe

0 stars 0 forks source link

Bug: error message does not match actual error #7

Open tyuyang opened 1 year ago

tyuyang commented 1 year ago

To reproduce: Type in: add egg 20

Expected: The flag /qty is missing! or something along those lines

Actual:

image.png

Even though the argument in question is a valid ingredient

soc-se-bot commented 1 year ago

Team's Response

Error message is correct, "egg 20" is not a valid ingredient.

Items for the Tester to Verify

:question: Issue response

Team chose [response.Rejected]

Reason for disagreement: Team is trying to use their standpoint to justify the error message being correct. From a user's standpoint, they entered in the correct command, with a valid ingredient "egg", as well as a valid quantity 20, just that they forgot to add the /qty flag. So from the user's point of view, the correct error message should have been that the flag /qty is missing. image.png

From the above guideline, the criteria should be based off the user pov, not the tester's pov, so the bug should not be under rejected, rather at worst not in scope.

As an aside, the bug type could be under a feature flaw (since this is under specificity of error message) instead of a functionality bug, which would have made this report easier to classify under not in scope.