Software Testing

Software testing

Introduction to Software Testing

“Quality is never an accident; it is always the result of intelligent effort.” — John Ruskin.

Download Software Testing Unit 1 Software testing unit 1

Download Software Testing Unit 2 Software testing unit 2_compressed

Download Software Testing Unit 3 Software testing unit 3

Download Software Testing Unit 4 ST unit 4b    St unit 4a

Download Software Testing 2022 Paper Software Testing GU 2022

CC-307 Software Testing  _ IMPORTANT QUESTIONS


Unit-1 Introduction


  1. What is software testing? List and explain goals of software testing.
  2. What are the principles of software testing? Explain them.
  3. Explain Software Testing Life Cycle (STLC).
  4. What is V-testing life cycle model ? How is it used? Explain in detail.
  5. State the difference between static and dynamic testing?


Unit-2 Types of Testing


  1. What is black box testing? List it’s different techniques. Explain any one in detail.
  2. List methods of BVA and explain any two in detail.
  3. How equivalence class testing is used in black box testing? Explain it in detail.
  4. Explain decision table in detail.
  5. What is white box testing? Why we need it?
  6. Explain Logic coverage criteria with its various forms.
  7. Write a short note on Basis Path Testing.
  8. Explain Inspection process. Explain members of he inspection team with their role.
  9. Explain structured walkthrough and technical review in detail.


Unit-3 Levels of Testing


  1. What is unit testing? Discuss the role of Drivers and Stubs.
  2. Write a short note on Call graph based integration.
  3. Explain Path based integration in detail.
  4. What is function testing? Explain primary processes of it.
  5. What is system testing? Explain its categories in brief.
  6. What is acceptance testing? Explain its types.
  7. Write a short note on alpha testing.
  8. Write a short note on beta testing.
  9. Give difference between alpha and beta testing.


Unit-4 Test Management


  1. What is test management? Explain choice of standards in brief.
  2. Explain elements of test infrastructure management in test management.
  3. Write a short note on test process.
  4. What is test reporting? Explain different types of test summary reports.
  5. What is test planning? List all the steps of it. Explain any two in detail.


Today’s world of technology is completely dominated by machines, and their behavior is controlled by the software powering it. Quality Assurance or Software Testing is crucial because it identifies errors or bugs from a system at the beginning. This article will provide you with in-depth knowledge about the different types of Software Testing in the following sequence :

  • Introduction to Software Testing
  • Why is Software Testing required?
  • Software Testing Life Cycle
  • Types of Software Testing

Software Testing is a process of evaluating the functionality of a software application to find any software bugs. It checks whether the developed software met the specified requirements and identifies any defect in the software in order to produce a quality product.

It is also stated as the process of verifying and validating a software product. It checks whether the software product:

  • Meets the business and technical requirements that guided its design and development
  • Works as per the requirement
  • Can be implemented with the same characteristics

Now let’s move ahead with our article and have a look at the reasons why we need Software Testing.

Why is Software Testing Required?

The importance of software testing is imperative. Skipping this process is definitely not a good idea and it might affect the product as well as the business. To understand the importance of testing, let’s have a look at some of the key points that explain why your product should undergo it :

Cost Effective

Testing our project on time can save money in the long run. Software development consists of many stages and if bugs are caught in the earlier stages it costs much less to fix them.


This is the most sensitive and vulnerable part of software testing. Users are always looking for trusted products that they can rely on. It helps in removing problems and risks beforehand.

Product Quality

In order to make your product vision come to life, it has to work as planned. It is important to follow the product requirements because it helps you get the required end results.

Customer Satisfaction

The ultimate goal for a product owner is to give the best customer satisfaction. Software should be tested in order to bring the best user experience possible.

These were some of the reasons that explain why we need software testing. Now let’s move ahead with our article and look at the different phases of Software Testing Life Cycle.

Software Testing Life Cycle (STLC)

Software Testing Life Cycle is a sequence of different activities performed by the testing team to ensure the quality of the software or the product. It defines a series of activities conducted to perform Software Testing.

The different phases of Software testing life cycle are:

  • Requirement Analysis— Requirement Analysis is the first step involved in Software testing life cycle. In this step, Quality Assurance (QA) team understands the requirement in terms of what we will testing & figure out the testable requirements.
  • Test Planning— Test Planning is the most important phase of Software testing life cycle where all testing strategy is defined. This phase is also called as Test Strategy In this phase, Test Manager is involved to determine the effort and cost estimates for the entire project. It defines the objective & scope of the project.
  • Test Case Development— The Test case development begins once the test planning phase is completed. This is the phase of STLC where testing team notes the detailed test cases. Along with test cases, a testing team also prepares the test data for testing. Once the test cases are ready then these test cases are reviewed by peer members or QA lead.
  • Test Environment Setup— Setting up the test environment is a vital part of the Software Testing Life Cycle. A testing environment is a setup of software and hardware for the testing teams to execute test cases. It supports test execution with hardware, software and network configured.
  • Test Execution— The next phase in the Software Testing Life Cycle is Test Execution. Test execution is the process of executing the code and comparing the expected and actual results. When test execution begins, the test analysts start executing the test scripts based on test strategy allowed in the project.
  • Test Cycle Closure— The final phase of the Software Testing Life Cycle is Test Cycle Closure. It involves calling out the testing team member meeting & evaluating cycle completion criteria based on Test coverage, Quality, Cost, Time, Critical Business Objectives, and Software.

Now let’s move ahead with our article and know more about the different types of testing.

Types of Software Testing

Testing is an integral part of any successful software project. The types of software testing depend on various factors, including project requirements, budget, timeline, expertise, and suitability. The different Types of software testing are the key role where the tester determines the right testing for the apps. Functional testing and non- functional testing are the two kinds of testing performed by the QA or Software Tester.

Functional Testing

Functional Testing is defined as a type of testing which verifies that each function of the software application operates in conformance with the requirement specification. The functional testing focuses on manual as well as automation testing.

The different Types of Functional Testing include :

Unit Testing

It is a level of software testing where individual units/ components of software are tested. The purpose is to validate that each unit of the software performs as designed. A unit is the smallest testable part of any software. It usually has one or a few inputs and usually a single output.

Benefits of Unit Testing

  • Unit testing increases confidence in changing or maintaining code. If good unit tests are written and if they are run every time any code is changed.
  • Codes are more reusable. In order to make unit testing possible, codes need to be modular.
  • Development is faster. The effort required to find and fix defects found during unit testing is very less in comparison to the effort required to fix defects found during system testing or acceptance testing.
  • The cost of fixing a defect detected during unit testing is lesser in comparison to that of defects detected at higher levels.
  • Debugging is easy. When a test fails, only the latest changes need to be debugged.

Integration Testing

It is a level of software testing where individual units are combined and tested as a group. The purpose of this level of testing is to expose faults in the interaction between integrated units.

Approaches of Integration Testing

  • Big Bangis an approach to Integration Testing where all or most of the units are combined together and tested at one go. This approach is taken when the testing team receives the entire software in a bundle.
  • Top Downis an approach to Integration Testing where top-level units are tested first and lower-level units are tested step by step after that. This approach is taken when the top-down development approach is followed.
  • Bottom Up is an approach to Integration Testing where bottom level units are tested first and upper-level units step by step after that. This approach is taken when bottom-up development approach is followed.
  • Sandwich/Hybridis an approach to Integration Testing which is a combination of Top Down and Bottom Up approaches.

System Testing

It is a level of software testing where a complete and integrated software is tested. The purpose of this test is to evaluate the system’s compliance with the specified requirements.

Tasks Performed by System Testing

  1. System Test Plan
  • Prepare
  • Review
  • Rework
  • Baseline
  1. System Test Cases
  • Prepare
  • Review
  • Rework
  • Baseline
  1. System Test

Interface Testing

When an application or software or a website is developed, then there are several components of it. Those components can be server, database etc. The connection which integrates and facilitates the communication between these components is termed as an Interface. It verifies that communication between the systems are done correctly.

3 phases of Interface Testing

  1. Configuration & development-When the interface is configured, and once the development starts, the configurations need to be verified as per the requirement.
  2. Validation — When the development is completed, the interface needs to be validated and verified, this can be done as a part of unit testing also.
  3. Maintenance — When we start developing an interface, we need to make sure that we are not introducing any defects in our code and hence tests need to be run on the interface.

Regression Testing

Regression testing is a crucial stage for the product & very useful for the developers to identify the stability of the product with the changing requirements. Regression testing is a testing that is done to verify that a code change in the software does not impact the existing functionality of the product.

Regression Testing Techniques

  • Retest all— The entire test cases in the test suite are re-executed to ensure that there are no bugs that have occurred because of a change in the code.
  • Regression Test Selection— In this method, test cases are selected from the test suite to be re-executed. Not the entire suite is re-executed. Selection of test cases is done on the basis of code change in the module.
  • Test Case Prioritization— Test cases with high Priority are executed first than the ones with medium and low priority. Priority of test case depends on its criticality and its impact on the product
  • Hybrid — The hybrid technique is a combination of Regression test selection and Test case Prioritization. Here we select only the test cases which are re-executed depending on their priority.

User Acceptance Testing

Acceptance Testing is a level of software testing where a system is tested for acceptability. The purpose of this test is to evaluate the system’s compliance with the business requirements and assess whether it is acceptable for delivery.

Types of User Acceptance Testing

  1. Business Acceptance Testing (BAT) — This is to assess whether the Product meets the business goals and purposes or not. It mainly focuses on business benefits which are quite challenging due to the changing market conditions.
  2. Contract Acceptance Testing (CAT)— This is a contract which specifies that once the Product goes live, within a predetermined period, the acceptance test must be performed and it should pass all the acceptance use cases.
  3. Operational Acceptance Testing (OAT) — This is to assess the operational readiness of the Product and is a non-functional testing. It mainly includes testing of recovery, compatibility, maintainability, technical support availability, reliability, fail-over, localization etc.
  4. Alpha Testing — This is to assess the Product in the development/testing environment by a specialized testers team usually called alpha testers.
  5. Beta Testing — This is to assess the Product by exposing it to the real end-users, usually called beta testers/beta users, in their environment. Continuous feedback from the users is collected and the issues are fixed.

Now that you have seen the different types of Functional Testing, let’s move on with our article and learn about the Non-Functional Testing types.

Non-Functional Testing

There are a bunch of software testing types which differentiate the job work for the QA while testing the apps. It is a testing to determine the performance of the system to major the measure, validate or verify the quality attribute of the system.

The different Types of Non-Functional Testing are :

Documentation Testing

Documentation testing helps to estimate testing efforts required and test coverage. Software documentation includes test plan, test cases, and requirements section.

Focus areas for Testing Documentation

  • Instructions — If specific instructions are provided for certain activities, its likely we will have test scenarios defined for those same activities
  • Examples — step-by-step examples may be provided to explain GUI screen inputs, clarify syntax for commands or other interfaces, show expected outputs, or illustrate other important points.
  • Messages — When we hit a problem, for example, an error message, we should verify that the documentation for the message is correct.
  • Samples — samples are sometimes documented for such things as initialization or tuning parameter input files.

Installation Testing

Installation testing is a type of quality assurance work in the software industry that converges on what customers will need to do to install and set up the new software successfully. The testing process may involve full, partial or upgrades install/uninstall processes.

Installation Testing Tips

  1. Install Full Version Of Application
  2. Automate testing efforts
  3. Required Disk Space check-in installation
  4. Use of Distributed Testing Environment
  5. Automate the check of files installed after installation
  6. Confirm for registry changes after installation
  7. Negative testing in Installation Testing
  8. Uninstallation testing

Performance Testing

Performance Testing is defined as a type of software testing to ensure software applications will perform well under their expected workload.

Types of Performance Testing

  • Load Testingis a type of performance testing conducted to evaluate the behavior of a system at an increasing workload.
  • Stress Testingis a type of performance testing conducted to evaluate the behavior of a system at or beyond the limits of its anticipated workload.
  • Endurance Testingis a type of performance testing conducted to evaluate the behavior of a system when a significant workload is given continuously.
  • Spike Testingis a type of performance testing conducted to evaluate the behavior of a system when the load is suddenly and substantially increased.

Reliability Testing

Reliability testing assures that the product is fault free and is reliable for its intended purpose. It is about exercising an application so that failures are discovered before the system deployed.

Types of Reliability Testing

  1. Feature test: Each function in the software should be executed at least once. Also, the interaction between two or more functions should be reduced
  2. Regression test: Whenever any new functionality is added or old functionalities are removed in an application, it undergoes a regression test to make sure no new bugs are introduced.
  3. Load test: Load test is done to test whether the application is supporting the required load without getting Breakdown. In order to find the break-point of an application, the load is gradually increased until the application gets hung, breakdown, unavailable, etc.
  4. Objectives of Reliability Testing: Restrictions like software behavior under given conditions, feasible objectives and time constraints are applicable before defining objectives of the reliability testing.

Security Testing

Security testing is a variant of software testing which ensures that system and applications in an organization are free from loopholes. Security testing is about to find all possible weaknesses of the system which might result in a loss of information at the hands of the employees.

Focus Areas

  • Network security:This involves looking for vulnerabilities in the network infrastructure.
  • System software security:This involves assessing weaknesses in the various software the application depends on.
  • Client-side application security:This deals with ensuring that the client cannot be manipulated.
  • Server-side application security:This involves making sure that the server code and its technologies are robust enough to fend off any intrusion.

By Deesha

Leave a Reply

Your email address will not be published. Required fields are marked *