Skip to content

Test against the specs #24

@ghost

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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions