4 ms·
This is really cool! Would be interested to see if the JavaScript blocks could be used to essentially run integration tests using something like this, so you co
by opheliate 5y ago
This is really cool! Would be interested to see if the JavaScript blocks could be used to essentially run integration tests using something like this, so you could assert that the response has certain properties. Being able to define an entire test suite for a service in a format like this would be really useful.
- sharat87 5y agoHey, thanks so much! Yes, all of those are indeed things I want to add. I plan is to have a headless runner, like a `prestige-run` command that will take a Prestige sheet file and run the JS blocks, HTTP requests in it and report the result of assertions. It's some distance away, yes, but hopefully, I'll get there :) JS blocks that take the response of a request to assert values is currently not there. This is something I myself wanted on so many occasions, but haven't got around to doing it. Thanks for chiming in, I'll take your word as a vote of interest on this feature ;)