Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

need basic regression tests for juise #4

Open
philshafer opened this issue Jul 9, 2013 · 1 comment
Open

need basic regression tests for juise #4

philshafer opened this issue Jul 9, 2013 · 1 comment
Assignees

Comments

@philshafer
Copy link
Contributor

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.

@ghost ghost assigned philshafer Jul 9, 2013
@ajhai
Copy link
Contributor

ajhai commented Jul 10, 2013

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants