Different types of software testing ?

Author: neptune | 27th-Jul-2022 | Views: 1040
#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
Selenium, Cucumber, JUnit, TestNG dependencies for Selenium project.
Author: neptune | 25th-May-2022 | Views: 2686
#Selenium #Testing #Cucumber #Projects
We guide you how to update the pom.xml file for Selenium Maven project...

Roadmap To Become Test Automation Engineer
Author: neptune | 25th-Jun-2022 | Views: 1714
#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?”...

How to use wait commands in Selenium WebDriver in Java ?
Author: neptune | 22nd-Feb-2022 | Views: 1612
#Selenium #Testing #Java
We are going to explore different types of waits in Selenium WebDriver. Implicit wait, Explicit wait, and Fluent wait with examples...

Commonly Used Abbreviations In Information Technology.
Author: neptune | 22nd-May-2022 | Views: 1330
#IT
We came up with commonly used acronym in IT Industry like IaaS, ASCII, IAM, TLS, SSL, BYOD, JSON etc...

Top 50+ Selenium Interviews Questions 2022 based on Years of Experience
Author: neptune | 31st-May-2022 | Views: 1143
#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...

Mostly asked Cucumber interview questions in selenium automation interviews.
Author: neptune | 28th-May-2022 | Views: 850
#Selenium #Testing #Cucumber
We are going to explore widely asked Cucumber interview questions in selenium automation interviews...

List of Top 15 Product-based Companies In India
Author: neptune | 02nd-Oct-2022 | Views: 774
#IT
Adobe Inc. initially called Adobe Systems Incorporated, is an American worldwide program organization. Products: Acrobat Pro, Photoshop, Illustrator, Spark, InCopy, etc...

Top 5 Highly Demanding IT Jobs in 2022.
Author: neptune | 14th-Apr-2022 | Views: 737
#IT #Jobs
Nowadays Jobs are raining in the IT Industry for multiple profiles with a huge number of openings. We will cover the top 5 IT Jobs in the coming year or later...

Challenges faced in automating Web Applications using Selenium
Author: neptune | 02nd-Oct-2022 | Views: 519
#Selenium #Testing
List of Challenges faced by testers using Selenium 1. Popup and Alert Handling, 2. Dynamic element Handling 3. Restricted to only Desktop Browsers Testing...

How to create a Selenium, Cucumber Automation project in Eclipse ?
Author: neptune | 19th-Apr-2022 | Views: 452
#Selenium #Testing #Cucumber
Problem Statement : Let’s consider this particular project where we will try automating the process of booking a flight ticket. Let’s get started and see how it’s done using Selenium...

What is Test Plan in Testing?
Author: neptune | 30th-Oct-2022 | Views: 256
#Testing
A Test Plan Document mentions in detail the objective of testing along with other core information like the internal beta team, target market, hardware and resource requirements, etc...

How to become Full Stack Developer?
Author: neptune | 30th-Aug-2022 | Views: 193
#IT #Motivation
As a Full Stack developer is a combination of both front-end and back-end developers, there are many stacks of technologies possible for both the developer skills combined...

View More