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.



anonymous | Sept. 23, 2022, 11:10 a.m.

Well explained 👍



Related Blogs
Roadmap To Become Test Automation Engineer
Author: neptune | 25th-Jun-2022
#Testing
When I was starting my journey in test automation, a lot of questions comes to my mind. Such as…. “From where do I start?” “Best tools to use?” “Which Programming language?” “How to plan your work?”...

Selenium, Cucumber, JUnit, TestNG dependencies for Selenium project.
Author: neptune | 02nd-Apr-2023
#Selenium #Testing
We guide you how to update the pom.xml file for Selenium Maven project...

5 Selenium Project Ideas & for Beginners in Automation Testing
Author: neptune | 30th-Mar-2023
#Selenium #Testing #Projects
In this article, we will discuss 5 interesting Selenium project ideas for beginners in automation testing...

Top 50+ Selenium Interviews Questions 2023 based on Years of Experience
Author: neptune | 02nd-Apr-2023
#Selenium #Testing #Interview
Every interview difficulty is based on how many years of experience you have in that field. For the Selenium Automation Tester I have divided the question on the number of years of experience...

Will Infosys and TCS Meet the Same Fate as India's Cotton Mills?
Author: neptune | 12th-Jun-2024
#IT #TCS
India's textile industry serves as a cautionary tale for today's tech outsourcing leaders, Infosys, TCS, and other Indian IT giants must navigate these changes carefully, continually adapting...

Elon Musk's Innovative Move: Twitter's Path to Monetization
Author: neptune | 12th-Aug-2023
#IT #Story
Elon Musk empowers Twitter users with monetization tools, offering exclusive content options and video programs, reshaping the platform's revenue landscape...

Getting Started with Cypress: Advantages, Setup, and First Test Guide
Author: neptune | 31st-Mar-2023
#Testing
Cypress is a powerful and easy-to-use testing framework that can help you test your web applications more efficiently...

REALITY of Working in a Corporate MNC: TCS and Infosys ?
Author: neptune | 23rd-Jun-2024
#IT #TCS
One of the primary attractions of working in a corporate MNC such as TCS or Infosys is the job security it offers...

Why Are TCS, Infosys, and Wipro Posting More Jobs Now 2024?
Author: neptune | 23rd-Jun-2024
#IT #TCS
Indian IT companies are back in action, reviewing numerous resumes and posting more job opportunities...

View More