QA Symphony looks at 3 serious (but common) misconceptions about software testing:
- Testing is a Cost Center
- Legacy Tools are Good Enough
- Testing Is Easy
These are indeed very common.
Let me just briefly focus on the last one. Â Consider how quickly the complexity escalates. Â You are a building a simple website – nothing fancy, just some modern design and a few pages of content to represent your company. Â Let’s say you have just four pages: front page, about us, services, and contact us. Â You can quickly check how these four pages look in your browser. Â Easy right?
But wait. Â People use different browsers to access the web. Â So just checking it in your favorite one is not that enough. Â Which browsers should you test for? Â Let’s say we take the major ones – Google Chrome, Firefox, Microsoft Internet Explorer, and Safari. Â These should about cover us. Â Until now, your entire test was 4 page loads. Â Now you are multiplying it by 4 browsers. Â That’s 16 page loads. Â So far so good?
Not really. Â Each browser has multiple versions, which render pages differently. Â Not everyone is using the latest version. Â And new versions are released continuously. Â Let’s say you decided to support the latest two major versions of each browser. Â So now, that’s each browser times two. Â So 4 pages by 8 browser comes up to 32 page loads.
But we were just talking about the desktop browsers. Â You do want your site looking good on tablets and mobiles, right? Â Of course you do. Â What does that mean in terms of testing? Â Let’s say we support only iOS and Android – two major platforms, both for mobile and tablets. Â And we only support the default browser on each of those. Â That adds 4 more browsers.
By the way, when people browse on mobiles and tablets, sometimes they view your page holding a device vertically, and sometimes horizontally. Â You should probably test for those things as well. Â You know, just to make sure, nothing breaks through to the right, or requires too much scrolling down.
Remember that we are still talking about the simplest of all the websites here. Â Nothing fancy.
Let’s throw in an additional language. Â Here in Cyprus, for example, most websites are in English and Greek. Â Some add Russian. Â Some have a few languages. Â I’ve worked in the companies supporting over a dozen languages on the website. Â Each language means that you need to do more tests. Â In each of those browsers and on each of the supported devices.
You get my drift.
Something else. Â So far our tests were simple page loads, just to have a quick look whether or not the page looks fine. Â What if we have multiple tests per page. Â You want the page to look fine. Â But you also don’t want to have any syntax or grammar errors in the content. Â Especially in those foreign languages, that you don’t speak yourself. Â And you want the page to be optimized for search engines. Â And you want it to be fast (performance testing).
By now, you’ll probably give and agree that testing is not easy. Â Not even for the simplest of sites. Â Consider just how much more complicated it can get if your site is slightly more complex than that.
Remember that contact us page. Â That thing was just showing the company mailing address and the phone number. Â Now you want an integrated Google Map and a contact us form. Â Nothing wrong with that, right?
Well. Â Google services are banned in many countries. Â Will your contact us page still work if the user cannot access the Google Maps service? Â You’ll need to test for that. Â What about your contact form? Â Does it actually work? You can’t be sure from it just appearing on the page. Â You need to test it now too.
We are still in the domain of simple websites. Â And this is getting too long. Â Let me just through a few more things at you:
- more content (imagine a website with dozens or hundreds of pages … this very blog has almost 10,000 blog posts, which are organized into categories, tags, date archives, etc).
- more functionality (fancy things, dynamic page loads, form validations, etc)
- even more functionality (online shop, user-driven content, etc)
- more integrations with other services (Google, social networks, company CRM/ERP/etc)
- spreading the site across multiple servers for performance (multiple web servers, caching servers, application servers, database servers, etc)
With each and every bit that you throw into your website, the testing gets exponentially more complex. Â You have to consider functionality testing, user interface testing, performance testing, security testing, and so on and so forth.
When you get to all of that, you probably have multiple people working in several teams. Â They all need to communicate and coordinate. Â Which is another layer of complexity.
I’ll stop here.
Next time you think testing is easy, think again.
Update (September 10, 2016): here are a few more misconceptions, which are as common as the ones above.