Coming soon - Get a detailed view of why an account is flagged as spam!
view details

This post has been de-listed

It is no longer included in search results and normal feeds (front page, hot posts, subreddit posts, etc). It remains visible only via the author's post history.

5
How can I unit test Shopify themes?
Post Flair (click to view more posts with a particular flair)
Post Body

I was wondering if there's a way to run unit tests on themes. (Some tool that can run unit tests against liquid files? some kind of ruby env maybe?)

At the moment with our agency testing is done (mainly by us!) by clicking all the buttons and hoping we didn't miss anything... which seems crazy!

We already had two cases where a combination of settings in the Theme Editor rendered the cart defunct during a promotion. I couldn’t believe the agency didn’t unit test it thoroughly, but now I researched it and I am increasingly desperate — I mean there’s got to be something?! Any help will be appreciated.

Author
Account Strength
100%
Account Age
6 years
Verified Email
Yes
Verified Flair
No
Total Karma
5,911
Link Karma
3,005
Comment Karma
2,906
Profile updated: 1 week ago
Posts updated: 10 months ago

Subreddit

Post Details

We try to extract some basic information from the post title. This is not always successful or accurate, please use your best judgement and compare these values to the post title and body for confirmation.
Posted
3 years ago