Purpose of Testing in SDLC Tutorial Study Material with Examples

Purpose of Testing in SDLC Tutorial Study Material with Examples

Purpose of Testing in SDLC Tutorial Study Material with Examples:The Complete Guide of Computer Science and Information Technology to Crack any Examination:-In this  cyberpoint9 tutorial we are going to describe about the  concept of Any Competitive Examination in Computer Science and Information Technology and cyber programming. And also we will describe that how can we crack any Competitive Examination Like GATE-CS ,UGC-NET,BARC,VSSC, DRDO, ISRO, NASA, BHEL,SPACEX,GOOGLE,FACEBOOK, etc .This is the free Full Complete Guide for Computer Science and Information Technology Students and Achievers Scientist.In this tutorials: course for Beginners to Advance And why we  use  Handbook of CS AND IT  to make  more interactive and  save our time  for our Daily life. Best Online Tutorial for Computer Science and It students .When ever we want to learn any thing the things become more earlier is somebody/tutorial/study material taught us through Examples. Here we have tried to describe each and every concept of  Programming and Cyber Security   in the light of cyberpoint9.com  best Hindi  Short tutorial using simple and best possible example. These examples are so simple that even a beginner who had never even heard about hacking and Cyber law can easily learn and understand How  the  isro and barc drdo for computer science books works in our today’s Technical Field. This is  the best  tutorial/Study Material  very beneficial for beginners  as well as Professional.The Complete Guide of Computer Science and Information Technology.


Testing refers to a defect detection mechanism and its purpose is to find errors. Testing is a process of executing a program with intent of finding an error.


It is a process of determining whether or not the product of a given phase of software development  fulfill the requirements established during the previous data. Verification is all about; are we building the product right

Verification means software product should meet user expectations. checking that users expectations are satisfied. We can do this with the help of below

  • Functional testing
  • Integration and interface testing
  • System testing
  • Acceptance criteria
  • Regression testing

Key Points

  • A good test case is one that has a high probability of finding a yet undiscovered error.
  • * A successful test is one that uncovers a yet undiscovered error.


Validation is a process of evaluating a system or component during or at the end of development process to determine whether it satisfies the specified requirements. Validation is all about; are we building the right product. Validation ensures whether the software product is behaving according to its specification. We can do this with the help of below

  • Technical reviews and inspections
  • Buddy checks, peer reviews
  • Root cause analysis
  • Metric definition
  • Certification demonstrations
Purpose of Testing in SDLC Tutorial Study Material with Examples
Purpose of Testing in SDLC Tutorial Study Material with Examples

Testing Techniques

Testing is the process of execution of a program with the intent of finding errors.

There are two types of testing techniques which are given below

White Box Testing (Structural Testing): Testing based on the internal specification with knowledge of how system is constructed. In this testing approach, we have to analyse the code and use the knowledge about the program structure to derive test data.

White box testing techniques are as given below

Handbook of cs and it
Handbook of cs and it

Basic path testing

  • Flow graph notation
  • Cyclomatic complexity
  • Graph matrices

Control structure testing

  • Loop testing

Black Box Testing (Functional Testing)

Testing based on the external specification without the knowledge of how system is constructed. In this approach, testers need not to have explicit knowledge of internal workings of the item being tested.

Handbook of cs and it
Handbook of cs and it

Black box testing techniques are given below

(1) Equivalence partition                                                     (ii) Boundary value analysis

(iii) Robustness testing

Here, some instances are given below, where white box testing is better than black box testing

  • Logical error   
  • Memory Overflow undetected
  • Topological error

Some instances, where black box testing is better than white box testing,

  •  Functional requirements not met 
  • Integration errors 
  • Incorrect parameters passed between functions

Types of Testing / Level of Testing

There are mainly three levels at testing. A software product goes through these levels of testing.

  1. Unit testing                     2. Integration testing                    3. System testing

Unit Testing

Unit testing is the process of taking a module (the smallest unit of software design) and running it in isolation from the rest of the software product by using prepared test cases and comparing the actual results with the results predicted by the specification and design of the module.

There are number of reasons in support of unit testing than testing the entire product.

  • The size of a single module is small enough that we can locate an error fairly easily.
  • Confusing interactions of multiple errors in widely different parts of the software are eliminated.

Unit Testing is white box oriented.

Integration Testing

This integration testing is used to test the integration and consistency of an integrated subsystem. Integration testing is applied incrementally as modules are assembled into larger subsystems. It is done using a combination of both black box and white box testing techniques.

Testing Applied to Integrated Part of the System

Testing  applied to subsystems, which are assembled in either

  • Top-down Assembles down from the highest level modules replacing the lower level modules test stubs.
  • Bottom-up Assembles from the lowest level modules replacing the higher level by test drives.

A stub is a simplified program or dummy module designed to provide the response that would be provided by the real sub-element.

Handbook of cs and it
Handbook of cs and it

System Testing

If focuses on complete integrated system to evaluate compliance with specified requirements. It is basically used for performance, stress and security testing. System testing includes the following testing techniques

Acceptance Testing

This is testing is performed before to handover the system to the customer Here, the customer may write the test criteria and request the develop to execute them or the developer can write the criteria and take the customer’s approval.

Acceptance testing focuses on complete integrated system to evaluate fitness of use. R is done from the users perspective.

 Alpha and Beta Testing

Alpha testing is done at developer’s site by customer. In alpha testing,  developers are present and environment is site  environments. Beta testing is done at one or more customer’s site by end users/customers in beta testing, we face live situation and here developer may or may not be present. Beta testing usually comes in picture when the number of users  are millions.         –

Performance Testing

This testing is concerned with assessing the time and memory aspects of the system. Performance testing may be concerned with checking that the operation completes within the fixed deadline and only a fixed size of memory is allocated.

Regression Testing

Regression testing is applied after changes have been made to the system. The operation of the new version is compared with the previous version to see, if there are any unexpected results.

Sorting in Design and Analysis of Algorithm Study Notes with Example

Learn Sorting in Handbook Series:  Click here 

Follow Us on Social Platforms to get Updated : twiter,  facebookGoogle Plus

Leave a Reply

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