79312404

Date: 2024-12-27 17:18:05
Score: 2
Natty:
Report link

What is the problem here? I guess you want some advice about how to write the test. A good strategy would be to start with three positive test cases for each type of input: one for email, one for phone number, and one for name.

Next, focus on writing negative test cases for each data type. In these cases, intentionally pass incorrect data types to verify if the code is handling validation properly and behaving as expected. This systematic approach will help ensure the robustness of your validation logic.

Of course I’m giving you this advices without knowing the structure of the code that you are testing but i tried to make the advices as general as possible.

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): What is the
  • Low reputation (1):
Posted by: Youssef Zraiba