Skip to content

caolan/magery-tests

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 

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.

In certain occasion, the case is an error case. Implementation of Magery should produce an error message (in the normal way) for this cases. The test suite provide a proposition of error message, it is not required to match the exact message.

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.

About

Test suite for server implementations of Magery templates

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages