Different types of software testing ?

Author: neptune | 27th-Jul-2022
🏷️ #Testing #IT

Introduction:-

Testing is the process of finding errors in a program. To improve the performance of the software we perform testing.

Principles of Testing:-

  1. Test Cases should meet the customer requirements.

  2. Software testing should be executed by a third party.

  3. Exhaustive testing is impossible. 

  4. Test Cases should be planned in advance before implementing. 

  5. It also follows the Pareto rule(80/20 rule) which states that 80% of errors come from 20% of programs.

  6. Start testing from small components and extend it to large components. 


Types of Testing:-

  1. Unit Testing

  2. Integration Testing

  3. Regression Testing

  4. Smoke Testing

  5. Alpha Testing

  6. Beta Testing

  7. System Testing

  8.  Stress Testing

  9. Performance Testing

  10. Object-Oriented Testing




  1. Unit Testing

Unit Testing is done during the development by developers. It is one of the white box testing. It is performed on the individual or group of interrelated units.

Examples: 

a.When we are checking if a loop, method, or function is working fine within a program.

b. Misunderstood or incorrect, arithmetic precedence.


  1. Integration Testing

In Integration testing, a group of units or components are combined to produce a single output. It takes unit tested components and builds a complete program using design.

Types of Integration Testings:

  1. Top-down 

  2. Bottom-up

  3. Sandwich 

  4. Big-Bang 

Examples:

  1. Black Box testing: It is used for validation. It ignores internal working mechanisms and focuses on What is the output?.

  2. White Box testing: It is used for verification. It focus on internal mechanism i.e. How is the output achieved?



  1. Regression Testing

Whenever a new module is added or any changes in the program. Regression testing  is performed to make sure that the whole component works properly after adding components.

Examples: 

In the school suppose we have components of staff, students, and finance combining these components and checking if the integration of these components works fine is regression testing.


  1. Smoke Testing

Smoke testing is performed to make sure that software or application under testing is ready or stable to perform other testing.

Example: 

If a project has 2 modules so before going to module 2, ensure that module 1 works properly.



  1. Alpha Testing

Alpha testing is a type of validation testing also called acceptance testing which is done before the product is released to customers. It is mostly done by the QA team.

Example: 

Alpha testing is performed within the organisation.


  1. Beta Testing

Beta Testing is performed by the end-user of the application. Software version is released for a limited number of users for testing in a real-time environment.

Example: 

When testing is performed by end-users.


  1. System Testing

System Testing is performed to test the application on different operating systems. It comes under the black box testing technique.

It also involves security testing, recovery testing, stress testing, and performance testing. 

Example: 

Mostly involve functional as well as non functional testing.

  1.  Stress Testing

Stress Testing is performed in unfavourable conditions to monitor the application performance.

Example: 

1. Test cases that require maximum memory or other resources.

2. Test cases that may cause thrashing in a virtual operating system.

3. Test cases that may cause excessive disk requirement.


  1. Performance Testing

It is performed to test the speed and effectiveness of the application. We also called it to load testing.

Example: 

Checking a number of processor cycles.

  1. Object-Oriented Testing

It is a combination of various testing techniques that help to verify and validate object-oriented software. 

This testing is done in the following manner: 

  • Testing of Requirements,

  • Design and Analysis of Testing,

  • Testing of Code,

  • Integration testing,

  • System testing,

  • User Testing.


Bonus:

Why do we call “Smoke” testing ?

It is called a smoke testing as the initial pass is done to check if it did not catch the fire or smoke in the initial switch on.


If you have any questions, or simply would like to share your thoughts, then feel free to reach out in the comments section below.