Styliner icon indicating copy to clipboard operation
Styliner copied to clipboard

Add automated unit tests

Open SLaks opened this issue 13 years ago • 3 comments

The ideal test for Styliner is to render inlined and non-inlined versions of complex pages in a browser, and make sure that the applied styles are identical. (see tests/TestServer.js) This requires a browser with a full CSS stack to test against; I'll use PhantomJS for that.

SLaks avatar Nov 29 '12 17:11 SLaks

Without this, no one can contribute. Really sad.

stevenvachon avatar Dec 22 '16 15:12 stevenvachon

Yes; the problem is that such tests aren't so simple to write, and I don't have time to write them. If you want to write them yourself, I'd welcome that.

Also note that now that Gmail supports CSS, this project should no longer be necessary.

SLaks avatar Dec 22 '16 15:12 SLaks

Not all Gmail products support CSS yet, though: https://litmus.com/blog/gmail-to-support-responsive-email-design/

This project still has at least a few months left. Also, who knows what the future holds.

stevenvachon avatar Dec 22 '16 16:12 stevenvachon