I have an endpoint that when it gets called, a pdf is generated based on parameters that are coming in from the frontend and then that pdf is returned back to the client side for rendering. In the middle of this, the file itself also gets stored in blob storage before going back to the frontend.
I was wondering, what test cases should I consider writing and what conditions I should be looking for or testing in this scenario?
I'm just looking for a list of things to test for (not the code or anything), just to make sure I hit the right things.
Some things I have thought of are:
-Test that the data coming in from frontend is not null (or at least the required ones).
-Check that File render is not null
-Mock blob storage and test saving file to blob exists there?
What else should I be testing or looking into?