Need real regression testing for juise, similar to what we've got for libslax.
Start juise in "server" mode, run scripts that use jcs:open/jcs:execute to localhost, getting the server juise, save the output, compare against "known to be good"
output, and report any changes or errors. Then kill the server. Both op and commit scripts can be handled this way.
--cgi can be handled similarly, with fixed input data.
I'm not looking for anything too complex, but simple regression testing is massively valuable.
Need real regression testing for juise, similar to what we've got for libslax.
Start juise in "server" mode, run scripts that use jcs:open/jcs:execute to localhost, getting the server juise, save the output, compare against "known to be good"
output, and report any changes or errors. Then kill the server. Both op and commit scripts can be handled this way.
--cgi can be handled similarly, with fixed input data.
I'm not looking for anything too complex, but simple regression testing is massively valuable.