Test suite for server implementations of Magery templates
Switch branches/tags
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
components
README.md

README.md

Server-side rendering tests for Magery templates.

For each test in components, load */template.html and render the 'app-main' component using */data.json as the context data. Check the result against */expected.html.

When using these tests as a guide for your own implementation I suggest setting your test runner to execute the tests in order (they generally go from simple to complex) and exit on first error.