-
Notifications
You must be signed in to change notification settings - Fork 15
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
Testsuite: integrate a proper testing framework rather than using set of custom scripts #130
Comments
Just to mention, the current testsuite tries to be POSIX compliant, which bats is not (?). We might consider ShellSpec, which should be. However, I don't know any of these, so I'll have a look and will report about it. |
@jajik When you have a minute, if you can look into what upstream Apache and / or it's modules use that would be interesting too. I am going to just assume it's something home brewed and not portable. |
That's a good idea. Will do. |
So, it turns out that httpd uses (maybe a bit surprisingly) pytest for some testing (see README.pytest). That looks interesting, although I don't like python very much. Personally, I don't think rewriting tests we have into pytest is the way to go, I would prefer just adapting them to ShellSpec/bats, but for new tests it might be an option. |
If we are talking about preferences I would strongly to prefer to have them in Java. I am under impression that what we have now can be done in Java quite with ease. I was under impression that the rewriting of the testsuite was with the idea to be in line with httpd apache project. Anyway, I will try to kick off some more discussions. |
https://github.com/apache/httpd-tests is the one I contributed. |
That looks like Perl! Definitely prefer that over Python, I'll have a look, thanks! |
e.g. use bats.
The text was updated successfully, but these errors were encountered: