-
Notifications
You must be signed in to change notification settings - Fork 226
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
Implement the mustache test suite #27
Comments
I think the current tests provide fairly good coverage, but I'd gladly accept more test cases. |
The point of using the "spec tests" is to know that it's compatible with the other implementations to the extent possible (rather than "everything implemented is ok"). |
Yes but are there tests that are in a format we can use? Some Ruby tests may specifically test mustache with Ruby class inheritance, for instance, and those are hard to use. |
They're defined in yml and json (I believe the same tests in both formats). The ruby code is just to convert the yaml to json. |
https://github.com/jabley/mustache/tree/feature/specs Using the spec tests is pretty easy to get going. |
spec at https://github.com/mustache/spec
examples at https://github.com/twitter/hogan.js/tree/master/test
or https://github.com/defunkt/mustache/tree/master/test
The text was updated successfully, but these errors were encountered: