-
Notifications
You must be signed in to change notification settings - Fork 70
Build a test
HTeuMeuLeu edited this page Sep 16, 2019
·
2 revisions
Building a test is an important part of answering "Can I email?". All tests can be found in the root tests
folder.
- Use the
_template.html
file to get started. - Fill the name of the feature tested in the
<h1>
. - Use the main table to add your tests. For each row, the first column describes the feature tested (such as a specific tag name or value for a CSS property). The second column is where the actual test belongs.
The hardest part might be to write the test itself. As Richard Feynman puts it: "When you explain a why, you have to be in some framework that you allow something to be true. Otherwise you're perpetually asking why." For HTML emails, we'll consider that inline styles, table elements (such as <table>
, <tr>
, <td>
) and background-color
have good enough support to be reliable for testing.
If your test requires images, please use a free image host like Imgur.