![]() To this… Screenshot shows tweaked prompt, updated test code and positive test resultĪgain, a note of caution. So go from this… Screenshot shows original prompt, test code and false negative test result Just open up the prompt again, tweak it and it updates the test – nice! or actually, I wanted it to ignore the casing of the environment variable, that’s giving me a false negative”. From “get the value” to nah, actually, “get the value in the first array response”. Luckily, Postbot stores your last request, and allows you to adapt it based on what you need. ![]() If you used ChatGPT before the prompts were remembered, you know how painful this was. I was pleasantly surprised by how complex prompts were understood. So before you start writing the code, why don’t you see if you can ask it for what you want. There will always be cases where the AI isn’t intelligent enough to ready your mind and come up with the exact scenario you were thinking of. It also ignores any existing tests – so if you already have status code = 200 checks then be prepared for some dupes! 2. if you already had a test and the cursor was placed inside it when Postbot was asked a question).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |