-
Notifications
You must be signed in to change notification settings - Fork 33
Open
Description
Mustache has an extensive spec which doubles as a test-suite. Each test comes with sample data, a template and the expected output, all formatted in standard YAML (even the strange {key: value} syntax is standard YAML). The procedure for conformance testing is also described in the specs. Thus this should be a matter of loading the YAML files, iterating over all tests, setting up context and partials appropriately, pushing the template through the render function and comparing the result with the sample output.
Metadata
Metadata
Assignees
Labels
No labels