lsvekis/Apps-Script-Code-Snippets ? reverse-engineered prompt
Reverse engineered prompt
Build me a simple Google Apps Script test generator that helps me create unit tests for my Apps Script functions.
I want to paste in a script or point it at a file, then have it suggest or generate useful test cases automatically, especially for common document, sheet, drive, and gmail style functions. It should make the tests easy to read, include clear setup and expected results, and be aimed at the kind of code in a typical Apps Script project.
If it makes sense, add a small interface or workflow that lets me choose a function, generate tests, and copy or save the result. Please make it practical for real Apps Script work, not just a demo, and use the existing project files as inspiration for the kinds of functions it should handle. Look up current docs online if you need to.
Are you gonna build this?
make sure you review the code using coderabbit