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

Implement the mustache test suite #27

Open
abh opened this issue Apr 3, 2013 · 5 comments
Open

Implement the mustache test suite #27

abh opened this issue Apr 3, 2013 · 5 comments

Comments

@abh
Copy link
Contributor

abh commented Apr 3, 2013

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

@hoisie
Copy link
Owner

hoisie commented Apr 7, 2013

I think the current tests provide fairly good coverage, but I'd gladly accept more test cases.

@abh
Copy link
Contributor Author

abh commented Apr 8, 2013

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").

@hoisie
Copy link
Owner

hoisie commented Apr 8, 2013

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.

@abh
Copy link
Contributor Author

abh commented Apr 8, 2013

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.

@jabley
Copy link

jabley commented Dec 23, 2014

https://github.com/jabley/mustache/tree/feature/specs

Using the spec tests is pretty easy to get going.

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

3 participants