Skip to main content

How to automate a visual regression test | Web design | Creative Bloq

How to automate a visual regression test | Web design | Creative Bloq: "Kevin Lamping shows you how to automate a test that will check your site's UI.


One of the biggest nuisances when releasing a product or feature are regressions in your codebase. Some functionality that was working just fine two weeks ago is now broken – and it's always the client who discovers the problem. Without automated testing, you're doomed to either:

Spend too much time manually testing functionality for every change
Run a greater risk of unknowingly breaking existing functionality
Despite this knowledge, many of us don't bother writing automated regression tests, as we feel it's just too much work to set up and maintain. Luckily that's changed. We can now write fairly comprehensive tests using a technique called visual regression testing.

Regressions occur when functionality stops working as expected. Usually this happens after a code change, but it can also occur due to changes in page content or time-based conditions (e.g. daylight savings messing up alarm clocks)."



'via Blog this'

All views are those of the author and should not be seen as the views of any organisation the author is associated with.

Comments

Popular posts from this blog

Free Web Hosting on Google Drive: Case study

Previously I looked at using other tools    to host sites sustainably (or even free)  such as:  Dropbox  (see: http://websitesustainability.blogspot.co.uk/2011/03/alternative-hosting-approach-1-dropbox.html )  Google Sites (see: http://websitesustainability.blogspot.co.uk/2011/03/google-sites-for-sustainability-week-3.html  ) Hosting options: http://websitesustainability.blogspot.co.uk/2012/08/hosting-how-to-get-it-out-there-for.html Free tools: http://websitesustainability.blogspot.co.uk/2012/08/the-best-free-tools-for-website.html Amazon S3 (see: http://websitesustainability.blogspot.co.uk/2011/10/thoughts-about-using-amazon-s3.html ) In this post I look at a real web site being moved to being hosted on google Drive as a case study of moving sites that need preserving on to Google Drive as a hosting option. 1. First step is to capture the static HTML files. We need to copy all the files we want, this has been discussed previous see ...

The best free tools for website sustainability.

By Ahsan Anderson, (anderson.ahsan@gmail.com)  Nuffield Bursary Student . All views are Ahsan Anderson not necessarily the views of the blog editor. I’ve created a few websites in the past, varying from those for business use or those to advertise bands in local areas, but with my line of work they’ve all had the same thing in common, and that’s money. When I’ve created them I have used a variety of tools; web builders for example, and one very key thing to these is that they all cost money for hosting. There are a few hurdles you can’t overcome, for example, there is no escaping the cost you will have to pay to have your domain name bought, but when building your website, sometimes there is no need to have to pay for the tools, as I will explain now. Whether you are willing to pay for the hosting or you wish to host yourself (or use free sites like 000hosting.com) this list will narrow down the choice of good modern builders that you can use. I was looking for...