Answer the question
In order to leave comments, you need to log in
How do you test the API?
I have such API methods as registration with Email confirmation, authorization and account deletion
I sent a POST to /api/v1/signup
I received a response:
HTTP/1.1 200 OK
{"message": "Registration success!"}
Answer the question
In order to leave comments, you need to log in
It all depends on your tasks and goals. You can turn it off, you can redirect letters somewhere and parse them for further tests, or you can go to real mail, check whether a letter has arrived or not ... In general, as much as you want to get confused, do it .. I would make a stub for sending mail, would redirect letters to files and check them.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question