-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Make a working test suite #11
Comments
weppos: it needs to be something easily runnable on a variety of platforms. I'd prefer Python as many people know it, and the code won't be all that complex. But given that I don't have time to do it, I'd much rather you wrote it in Ruby than no-one wrote it :-) |
I suggest using Travis. |
You did it again (#21). +1 for CI (e.g. travis). |
There could be a regexp check for the list too.
|
Please consider prepending this line to the tests: { echo '<?php '; cat tests/test_psl.txt; } | php -l || echo "Invalid code in text file." |
I prepared a preliminary test suite in #123. Feedback are welcome. |
We should assemble the fragments of code in the tests/ directory into an actual runnable test suite which checks the file for common errors and makes it as unlikely as possible that we will break anyone's tree or parser.
This bug covers testing the things the existing tests cover. We should file additional bugs for other things we might like to test.
The text was updated successfully, but these errors were encountered: