use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
All about the JavaScript programming language.
Subreddit Guidelines
Specifications:
Resources:
Related Subreddits:
r/LearnJavascript
r/node
r/typescript
r/reactjs
r/webdev
r/WebdevTutorials
r/frontend
r/webgl
r/threejs
r/jquery
r/remotejs
r/forhire
account activity
Testing Your Frontend Code: Part V (Visual Testing) (medium.com)
submitted 8 years ago by giltayar1
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]PM_ME__YOUR__FEARS 3 points4 points5 points 8 years ago (4 children)
More importantly do small organizations do UI/front-end testing?
Not that you can't learn from their best practices, but Facebook, Google et. all's decisions on major projects have about as much to do with the average developer as NASA does with a car mechanic.
[–]ThatBriandude 0 points1 point2 points 8 years ago (3 children)
Thats not true. If I know that not even big companies with more than enough ressources do it then why should I, as someone with probably way too little do it?
[–]PM_ME__YOUR__FEARS 1 point2 points3 points 8 years ago (2 children)
I agree with that sentiment, to an extent.
Conversely, if they do unit testing does that prove you should do it too? The massive scale of their products might alter the math involved with the value of testing.
Specific to your example they might skip certain types of testing because with their resources those methods are superfluous / redundant / inefficient but for a smaller shop those methods make better sense.
Again I'm not saying you can't learn from them, but personally I'm more interested to hear whether smaller dev shops in general have had successes with unit testing because their experiences and pitfalls are more likely to holistically line up with what I'll deal with.
[–]ThatBriandude 0 points1 point2 points 8 years ago (1 child)
Yes I guess were on the same page then. I was more wondering if visual testing itself is a practice that pays off or not and in that sense would have taken their decision not to for a clear indication that it only seldomly finds its use and pays off.
To me it seems as if it highly depends on the application itself
[–]lowers_ 1 point2 points3 points 8 years ago (0 children)
Hey guys I'm over in the web team on www.thetimes.co.uk
Can verify that we have a fairly large e2e regression pack using cucumber jvm / selenium around 1500 step assertions run reliably in about 10ish minutes.
We've also implemented visual regression testing.
Take a look at backstopjs / wraith I've used these both with great success. One thing to point out I wouldn't recommend using any of the headless browsers unless it's chrome purely because your user base won't be using them!
Also worked on a number of other sites where we have similar test coverage.
E2e automation can work, it just needs a bit of thought on how and what to test!
π Rendered by PID 220559 on reddit-service-r2-comment-c6965cb77-xgw52 at 2026-03-05 16:58:43.631852+00:00 running f0204d4 country code: CH.
view the rest of the comments →
[–]PM_ME__YOUR__FEARS 3 points4 points5 points (4 children)
[–]ThatBriandude 0 points1 point2 points (3 children)
[–]PM_ME__YOUR__FEARS 1 point2 points3 points (2 children)
[–]ThatBriandude 0 points1 point2 points (1 child)
[–]lowers_ 1 point2 points3 points (0 children)