Types of Software Testing

Updated on May 21, 2018
hrymel profile image

Haley works in Quality Assurance as a software tester. She is in charge of managing testing projects as well as training new testers.

What Is Software Testing?

Software testing is a fast-paced, growing field. Many times there can be a misunderstanding between testers, devs, and management about testing terminology. Having clear, shared definitions of testing is important because of this.

This article will go over some of the common types of software testing. It's important to keep in mind that in practice, it can be easy for two (or more) types of testing to overlap. Academically these are all very distinct terms, but pragmatically they can begin to merge.

I also will not talk specifically about "automation" as a testing type, since most of these types of testing can be accomplished either manually or automatically with code.

Common Types of Software Testing

  • Functional Testing
  • Integration Testing
  • Black box Testing
  • White box Testing
  • Regression Testing
  • Smoke Testing
  • Exploratory Testing
  • User Acceptance Testing

Note: This is not a complete list of the types of software testing.

What Is Functional Testing?

Functional testing is a sub-group of other testing types. Functional testing is any black-box (not code side) testing that makes sure the software completes the appropriate functions. This is the type of testing that makes sure the requirements are met.

Types of functional testing include:

  • Sanity testing
  • Smoke testing
  • Regression testing
  • Integration testing
  • Usability testing

What Is Integration Testing?

Integration testing is incredibly important for software that works on a server-client model, or as a distributed system. This means applications that do not live solely on the user's computer and applications that may have multiple different servers on the back end.

An architecture example could be:

  1. The main server that is running a web application's dashboard.
  2. A separate server that solely holds the database.
  3. A separate server that runs reports or algorithms for the system.
  4. An additional piece of software that allows for this application to connect with a third-party application.

Integration testing for the scenario outlined above would include making sure each server is able to talk to the appropriate other servers, that the correct information is passed from one service to the other, etc.

Integration testing can also occur at a smaller level, once developers have completed microservices or small bits of code that need to interact with other parts.

Black Box Testing

Black box testing is a broad term for any testing where the code is not looked at.

The idea is that the product is like a black box. The user does not care what happens in the black box so long as they get the correct output from their input.

Most functional, manual test cases are black box testing.

White Box Testing

White box testing focuses on the internal properties of the application, rather than the functionality of using the product. One of the main benefits of white box testing is that it discovers errors before they appear at the level of the user. This is especially useful for hidden errors that may not cause visible defects now, but cause defects with further changes to the code.

Unit testing is the most common type of white box testing.

Regression Testing

Regression testing's focus is on making sure that no new features, architecture changes, or recent defect fixes have accidentally created new defects. Many times a code change can have a cascading effect and create defects in an area that may be missed when that fix is tested.

Regression testing is very useful if many changes have been made to a product in multiple areas. This can be the most time-consuming area of testing though. Worse case scenario the entire product has to be tested for all requirements.

A highly valuable skill is the ability to balance the correct amount and types of testing for a regression test.

Regression testing is usually utilized directly before a product is released.

Smoke Testing

Smoke testing, also known as sanity testing, is a high-level form of testing. Smoke testing completes the happy path testing for the most important functions of the product while looking for any critical defects at that level.

This helps to ensure that an obvious critical bug isn't discovered halfway through the testing when a quick click through would have shown it.

Exploratory Testing

Exploratory testing is when a tester is given an area or functionality of a product to explore. They do not follow detailed test cases but instead may use them as a loosely defined script. Exploratory testing does tend to focus on a lot of negative testing.

This type of testing tends to focus on the question "I wonder what would happen if I?" Testers look for things that aren't covered in the requirements. Such as adding a product and removing the product from an online shopping cart five times, then trying to purchase something else.

User Acceptance Testing

User acceptance testing (UAT) is a final step in the testing process. This is when the final user for a product uses the product. The product should be stable and ready to go to production at this point.

Once the user "accepts" the product, it ready to go to production.

This is more common practice with projects that have a single client.

Questions & Answers

    Comments

      0 of 8192 characters used
      Post Comment

      No comments yet.

      working

      This website uses cookies

      As a user in the EEA, your approval is needed on a few things. To provide a better website experience, turbofuture.com uses cookies (and other similar technologies) and may collect, process, and share personal data. Please choose which areas of our service you consent to our doing so.

      For more information on managing or withdrawing consents and how we handle data, visit our Privacy Policy at: "https://turbofuture.com/privacy-policy#gdpr"

      Show Details
      Necessary
      HubPages Device IDThis is used to identify particular browsers or devices when the access the service, and is used for security reasons.
      LoginThis is necessary to sign in to the HubPages Service.
      Google RecaptchaThis is used to prevent bots and spam. (Privacy Policy)
      AkismetThis is used to detect comment spam. (Privacy Policy)
      HubPages Google AnalyticsThis is used to provide data on traffic to our website, all personally identifyable data is anonymized. (Privacy Policy)
      HubPages Traffic PixelThis is used to collect data on traffic to articles and other pages on our site. Unless you are signed in to a HubPages account, all personally identifiable information is anonymized.
      Amazon Web ServicesThis is a cloud services platform that we used to host our service. (Privacy Policy)
      CloudflareThis is a cloud CDN service that we use to efficiently deliver files required for our service to operate such as javascript, cascading style sheets, images, and videos. (Privacy Policy)
      Google Hosted LibrariesJavascript software libraries such as jQuery are loaded at endpoints on the googleapis.com or gstatic.com domains, for performance and efficiency reasons. (Privacy Policy)
      Features
      Google Custom SearchThis is feature allows you to search the site. (Privacy Policy)
      Google MapsSome articles have Google Maps embedded in them. (Privacy Policy)
      Google ChartsThis is used to display charts and graphs on articles and the author center. (Privacy Policy)
      Google AdSense Host APIThis service allows you to sign up for or associate a Google AdSense account with HubPages, so that you can earn money from ads on your articles. No data is shared unless you engage with this feature. (Privacy Policy)
      Google YouTubeSome articles have YouTube videos embedded in them. (Privacy Policy)
      VimeoSome articles have Vimeo videos embedded in them. (Privacy Policy)
      PaypalThis is used for a registered author who enrolls in the HubPages Earnings program and requests to be paid via PayPal. No data is shared with Paypal unless you engage with this feature. (Privacy Policy)
      Facebook LoginYou can use this to streamline signing up for, or signing in to your Hubpages account. No data is shared with Facebook unless you engage with this feature. (Privacy Policy)
      MavenThis supports the Maven widget and search functionality. (Privacy Policy)
      Marketing
      Google AdSenseThis is an ad network. (Privacy Policy)
      Google DoubleClickGoogle provides ad serving technology and runs an ad network. (Privacy Policy)
      Index ExchangeThis is an ad network. (Privacy Policy)
      SovrnThis is an ad network. (Privacy Policy)
      Facebook AdsThis is an ad network. (Privacy Policy)
      Amazon Unified Ad MarketplaceThis is an ad network. (Privacy Policy)
      AppNexusThis is an ad network. (Privacy Policy)
      OpenxThis is an ad network. (Privacy Policy)
      Rubicon ProjectThis is an ad network. (Privacy Policy)
      TripleLiftThis is an ad network. (Privacy Policy)
      Say MediaWe partner with Say Media to deliver ad campaigns on our sites. (Privacy Policy)
      Remarketing PixelsWe may use remarketing pixels from advertising networks such as Google AdWords, Bing Ads, and Facebook in order to advertise the HubPages Service to people that have visited our sites.
      Conversion Tracking PixelsWe may use conversion tracking pixels from advertising networks such as Google AdWords, Bing Ads, and Facebook in order to identify when an advertisement has successfully resulted in the desired action, such as signing up for the HubPages Service or publishing an article on the HubPages Service.
      Statistics
      Author Google AnalyticsThis is used to provide traffic data and reports to the authors of articles on the HubPages Service. (Privacy Policy)
      ComscoreComScore is a media measurement and analytics company providing marketing data and analytics to enterprises, media and advertising agencies, and publishers. Non-consent will result in ComScore only processing obfuscated personal data. (Privacy Policy)
      Amazon Tracking PixelSome articles display amazon products as part of the Amazon Affiliate program, this pixel provides traffic statistics for those products (Privacy Policy)