You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
A while back I wrote a python script (https://github.com/ajhai/PyReg) that could do basic regression similar to what we do with ddl tests. Script is very generic and allows you to specify what binary to invoke, use variables in your test cases and load them from a map file when running regressions, accept output etc., We can start juise in server mode, invoke curl from the script and regress. Does this look like something we can use here?
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.
The text was updated successfully, but these errors were encountered: