SlideShare ist ein Scribd-Unternehmen logo
1 von 23
Software Testing Sneak-peek into the world of testing Vikash Mishra(vikashmishra001@gmail.com)
Software Testing Software Testing is the process of analyzing a software item to detect differences between existing and required conditions(that is bugs) and to evaluate features of software items. Software Testing is an investigation conducted to provide stakeholders with information about the quality of the product or service under test. No software can be 100% bug free. The aim of software testing is to give the best product to users/customers with minimum number of bugs/defects. Vikash Mishra(vikashmishra001@gmail.com)
Need of Testing To demonstrate software does what it is supposed to do and does not do something which it is not supposed to do. To find defects as early as possible and get them fixed. To meet compliance with contractual or legal requirements Testing should provide sufficient information to the stake holders for decision making regarding release of the software/ system , for the next development step or handover to customers. Vikash Mishra(vikashmishra001@gmail.com)
Test Plan Test plan is a document that describes how testing will be accomplished. It is similar to Project Plan. Five key characteristics defined in a Test Plan: Scope & Objectives: Defining what will be covered in a project  Resource: What type and number of resources to be used to accomplish the objectives  Schedule: Tasks and their schedules. Quality: Standards to be used and/or customized. Risk: Defines in advance what may happen to drive the plan off course, and what will be done to recover the situation. Vikash Mishra(vikashmishra001@gmail.com)
Need for Test Plan Discuss issues early. Enables to decide in advance: How a project’s objectives will be met.  What resources are available and what resources are required..  Time scales required.  Quality desired. Controlling risk. Vikash Mishra(vikashmishra001@gmail.com)
Functional Testing and Non-Functional Testing Functional Testing: Functional Testing refers to testing very specific action or function of the code. Functional testing tends to answer the question:  CAN WE DO THIS? DOES THIS PARTICULAR FEATURE WORK? Functional Test – white box Tests at micro level of the programs that test each and every implemented functional task, ensuring that all code options are exercised. Requires knowledge of the internal code Functional Test – black box Testing that focuses solely on the outputs generated in response to selected inputs and execution conditions. Requirements are the only test basis and knowledge of the internal code is not required. Vikash Mishra(vikashmishra001@gmail.com)
Functional Testing and Non-Functional Testing Non-Functional Testing: Non-Functional Testing refers to that aspect of software that may not relate to specific function or user action such as scalability or security. Non-Functional testing tends to answer the question: HOW MANY PEOPLE CAN LOG IN IT AT ONCE? HOW EASY IT IS TO HACK THE SOFTWARE? Testing that concentrates on the performance of the system like the response time, speed of execution, usability, availability etc. First check for “Functionality” and then for “Performance” Vikash Mishra(vikashmishra001@gmail.com)
Four levels of Testing done in any Testing Project Unit Testing:Testing of individual software components or modules. Typically done by the programmer and not by testers, as it requires detailed knowledge of the internal program design and code. May require developing test driver modules or test harnesses. Unit testing is a software verification and validation method in which a programmer tests if individual units of source code are fit for use. A unit is the smallest testable part of an application. Integration Testing:In this type of testing both software component and hardware components are combined together and tested. Testing of integrated modules to verify combined functionality after integration. Modules are typically code modules, individual applications, client and server applications on a network, etc. This type of testing is especially relevant to client/server and distributed systems.  Vikash Mishra(vikashmishra001@gmail.com)
Four levels of Testing done in any Testing Project System Testing: System testing involves putting the new program in many different environments to ensure program works in typical customer environment. System testing is conducted on complete, integrated system to evaluate the system compliance with its specified requirements. The entire system is tested as per requirements. Acceptance Testing:Performed by customers or user representative. Supposed to be final level of testing and verifies whether product meets the agreed upon product acceptance criteria. Vikash Mishra(vikashmishra001@gmail.com)
Black Box Testing Black Box Testing treats system as black box, so it does not use knowledge of internal structure or code. Black-box techniques (also called specification-based techniques) are a way to derive and select test conditions or test cases based on an analysis of the test basis documentation, whether functional or non-functional, for a component or system without reference to its internal structure. Main focus in black box testing is on the functionality of system as whole. Behavioural testing is also used for black box testing. Black-box techniques is also called specification-based techniques. Vikash Mishra(vikashmishra001@gmail.com)
Black Box Testing Advantages of Black Box Testing: Tester can be non-technical. Used to verify contradictions in actual system and the specifications. Test cases can be designed as soon as the functional specifications are complete Disadvantages of Black Box Testing: The test inputs needs to be from large sample space. It is difficult to identify all possible inputs in limited testing time. So writing test cases is slow and difficult. Chances of having unidentified paths during this testing. Vikash Mishra(vikashmishra001@gmail.com)
White Box Testing White box testing (WBT) is also called Structural or Glass box testing.  White box testing involves looking at the structure of the code. When you know the internal structure of a product, tests can be conducted to ensure that the internal operations performed according to the specification. And all internal components have been adequately exercised. White Box Testing is coverage of the specification in the code. Vikash Mishra(vikashmishra001@gmail.com)
White Box Testing Need of White Box Testing? To discover the following types of bugs: Logical error tend to creep into our work when we design and implement functions, conditions or controls that are out of the program. The design errors due to difference between logical flow of the program and the actual implementation. Typographical errors and syntax checking. Limitations of White Box Testing: Not possible for testing each and every path of the loops in program. This means exhaustive testing is impossible for large systems. This does not mean that WBT is not effective. By selecting important logical paths and data structure for testing is practically possible and effective.  Vikash Mishra(vikashmishra001@gmail.com)
Defect Variance of actual result from expected result. The difference between actual behaviour and the desired behaviour as stipulated by the requirements specifications A Defect that causes an error or negatively impacts a user/ customer is categorised as Failure Software does not do something which it is supposed to do. Does something which it is not supposed to do. Vikash Mishra(vikashmishra001@gmail.com)
Defect Life Cycle New Opened Review Deferred Assign Duplicate Reopened Fixed Not a defect Retested Closed Vikash Mishra(vikashmishra001@gmail.com)
Severity and Priority Severity indicates how bad the bug is and reflects its impact on the product and its users. Priority determines the order in which the product is to fixed. PRIORITY>> SEVERITY Vikash Mishra(vikashmishra001@gmail.com)
Software Verification and Validation Verification: Process of evaluating a system or a component whether the products of a given development phase satisfy the conditions imposed on the start of phase. HAVE WE BUILD THE RIGHT SOFTWARE? DOES IT MATCH THE SPECIFICATIONS? Validation: Process of evaluating system or component during or at the end of development process to see whether it satisfies the specific requirements. HAVE WE BUILT THE RIGHT SOFTWARE? IS THIS WHAT CUSTOMER WANTS? Vikash Mishra(vikashmishra001@gmail.com)
Retesting and Regression Testing Retest is the act of repeating a test to verify that the found defect has been correctly fixed. Regression Testing is the act of repeating other tests in the parallel area to ensure that the applied fix or change of the code has not introduced other errors or unexpected behaviour. Vikash Mishra(vikashmishra001@gmail.com)
Inspection Review and Walkthrough Inspection: It is a technique in which the work product is examined for its compliance to specific standards and also checked against a history of common errors. Review: It is a technique in which the work product is discussed upon by a group of two or more persons and re-examined or revaluated for possible corrections. Walkthrough: It is a technique mostly done on the code developed, where the code is traced manually to monitor the state of the program variables as a way of analyzing the logic. This is Verification portion of Verification and Validation. Vikash Mishra(vikashmishra001@gmail.com)
Difference between QA,QC and Testing Quality Assurance: A set of activities designed to ensure that the development and/or maintenance process is adequate to ensure a system will meet its objectives. QA is process oriented. As a QA, you question the ambiguous requirements and prepare proper documentation for the projects. All these practices help in preventing bugs/defects from an early stage.  Quality Assurance makes sure you are doing the right things, the right way. Vikash Mishra(vikashmishra001@gmail.com)
Difference between QA,QC and Testing Quality Control:A set of activities designed to evaluate a developed work product. QC is product oriented. QC implements the process developed by QA team. QC activities focus on finding defects in specific deliverables - e.g., are the defined requirements the right requirements. Quality Control makes sure the results of what you've done are what you expected. Vikash Mishra(vikashmishra001@gmail.com)
Difference between QA,QC and Testing Testing: The process of executing a system with the intent of finding defect. Testing is product oriented and thus is in the QC domain.  Testing for quality isn't assuring quality, it's controlling it. Vikash Mishra(vikashmishra001@gmail.com)
Thank You VikashMishra Email: vikashmishra001@gmail.com Twitter: http://twitter.com/MishraVikash VikashMishra(vikashmishra001@gmail.com)

Weitere ähnliche Inhalte

Was ist angesagt? (12)

SE Quiz
SE QuizSE Quiz
SE Quiz
 
Software project management
Software project managementSoftware project management
Software project management
 
Istqb question-paper-dump-11
Istqb question-paper-dump-11Istqb question-paper-dump-11
Istqb question-paper-dump-11
 
Manual testing
Manual testingManual testing
Manual testing
 
Topic 5 chapter 6
Topic 5 chapter 6Topic 5 chapter 6
Topic 5 chapter 6
 
ISTQB Foundation level Sample Paper - Part 3
ISTQB Foundation level Sample Paper - Part 3 ISTQB Foundation level Sample Paper - Part 3
ISTQB Foundation level Sample Paper - Part 3
 
Istqb exam sample_paper_3
Istqb exam sample_paper_3Istqb exam sample_paper_3
Istqb exam sample_paper_3
 
Chap2
Chap2Chap2
Chap2
 
Istqb question-paper-dump-13
Istqb question-paper-dump-13Istqb question-paper-dump-13
Istqb question-paper-dump-13
 
Topic 5 chapter 2
Topic 5 chapter 2Topic 5 chapter 2
Topic 5 chapter 2
 
Topic 5 chapter 5
Topic 5 chapter 5Topic 5 chapter 5
Topic 5 chapter 5
 
Introduction to specification based test design techniques
Introduction to specification based test design techniquesIntroduction to specification based test design techniques
Introduction to specification based test design techniques
 

Andere mochten auch

Software testing methods, levels and types
Software testing methods, levels and typesSoftware testing methods, levels and types
Software testing methods, levels and types
Confiz
 

Andere mochten auch (11)

What is sanity testing
What is sanity testingWhat is sanity testing
What is sanity testing
 
Software Engineering- Types of Testing
Software Engineering- Types of TestingSoftware Engineering- Types of Testing
Software Engineering- Types of Testing
 
How to Run a Smoke Test
How to Run a Smoke TestHow to Run a Smoke Test
How to Run a Smoke Test
 
Smoke Testing: Test Your App or Website
Smoke Testing: Test Your App or WebsiteSmoke Testing: Test Your App or Website
Smoke Testing: Test Your App or Website
 
Types of testing
Types of testingTypes of testing
Types of testing
 
Software testing methods, levels and types
Software testing methods, levels and typesSoftware testing methods, levels and types
Software testing methods, levels and types
 
Quality Assurance Vs Quality Control
Quality Assurance Vs Quality ControlQuality Assurance Vs Quality Control
Quality Assurance Vs Quality Control
 
Quality control and quality assurance
Quality control and quality assuranceQuality control and quality assurance
Quality control and quality assurance
 
Smoke Testing
Smoke TestingSmoke Testing
Smoke Testing
 
Basic concepts of QA and QC
Basic concepts of QA and QCBasic concepts of QA and QC
Basic concepts of QA and QC
 
QUALITY ASSURANCE
QUALITY ASSURANCEQUALITY ASSURANCE
QUALITY ASSURANCE
 

Ähnlich wie Software Quality Assurance

Introduction to software testing
Introduction to software testingIntroduction to software testing
Introduction to software testing
Venkat Alagarsamy
 
softwaretestingppt-FINAL-PPT-1
softwaretestingppt-FINAL-PPT-1softwaretestingppt-FINAL-PPT-1
softwaretestingppt-FINAL-PPT-1
FAIZALSAIYED
 
Glossary of Testing Terms and Concepts
Glossary of Testing Terms and ConceptsGlossary of Testing Terms and Concepts
Glossary of Testing Terms and Concepts
mqamarhayat
 
Software testing sengu
Software testing  senguSoftware testing  sengu
Software testing sengu
Sengu Msc
 

Ähnlich wie Software Quality Assurance (20)

Real Time software Training in Nagercoil
Real Time software Training in NagercoilReal Time software Training in Nagercoil
Real Time software Training in Nagercoil
 
black and white Box testing.pptx
black and white Box testing.pptxblack and white Box testing.pptx
black and white Box testing.pptx
 
Validation & verification software engineering
Validation & verification software engineeringValidation & verification software engineering
Validation & verification software engineering
 
UNIT 2.pptx
UNIT 2.pptxUNIT 2.pptx
UNIT 2.pptx
 
Software testing
Software testingSoftware testing
Software testing
 
Software testing
Software testingSoftware testing
Software testing
 
Introduction to software testing
Introduction to software testingIntroduction to software testing
Introduction to software testing
 
Software testing strategies
Software testing strategiesSoftware testing strategies
Software testing strategies
 
Software testing By M.Yameen
Software testing By M.YameenSoftware testing By M.Yameen
Software testing By M.Yameen
 
Software Testing or Quality Assurance
Software Testing or Quality AssuranceSoftware Testing or Quality Assurance
Software Testing or Quality Assurance
 
softwaretestingppt-FINAL-PPT-1
softwaretestingppt-FINAL-PPT-1softwaretestingppt-FINAL-PPT-1
softwaretestingppt-FINAL-PPT-1
 
Manual testing
Manual testingManual testing
Manual testing
 
Glossary of Testing Terms and Concepts
Glossary of Testing Terms and ConceptsGlossary of Testing Terms and Concepts
Glossary of Testing Terms and Concepts
 
Software testing
Software testingSoftware testing
Software testing
 
Basic Guide to Manual Testing
Basic Guide to Manual TestingBasic Guide to Manual Testing
Basic Guide to Manual Testing
 
Manual testing
Manual testingManual testing
Manual testing
 
Software Engineering unit 4
Software Engineering unit 4Software Engineering unit 4
Software Engineering unit 4
 
Software testing sengu
Software testing  senguSoftware testing  sengu
Software testing sengu
 
Qa analyst training
Qa analyst training Qa analyst training
Qa analyst training
 
Software testing & Quality Assurance
Software testing & Quality Assurance Software testing & Quality Assurance
Software testing & Quality Assurance
 

Mehr von Vikash Mishra

Building great products using Agile
Building great products using  AgileBuilding great products using  Agile
Building great products using Agile
Vikash Mishra
 

Mehr von Vikash Mishra (8)

Building an AI organisation
Building an AI organisationBuilding an AI organisation
Building an AI organisation
 
RPA BA
RPA BARPA BA
RPA BA
 
Change Management
Change ManagementChange Management
Change Management
 
Change Management
Change ManagementChange Management
Change Management
 
Google SEO
Google SEOGoogle SEO
Google SEO
 
Design thinking
Design thinkingDesign thinking
Design thinking
 
Scrum Methodology
Scrum MethodologyScrum Methodology
Scrum Methodology
 
Building great products using Agile
Building great products using  AgileBuilding great products using  Agile
Building great products using Agile
 

Kürzlich hochgeladen

Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
Joaquim Jorge
 

Kürzlich hochgeladen (20)

Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
HTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation StrategiesHTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation Strategies
 

Software Quality Assurance

  • 1. Software Testing Sneak-peek into the world of testing Vikash Mishra(vikashmishra001@gmail.com)
  • 2. Software Testing Software Testing is the process of analyzing a software item to detect differences between existing and required conditions(that is bugs) and to evaluate features of software items. Software Testing is an investigation conducted to provide stakeholders with information about the quality of the product or service under test. No software can be 100% bug free. The aim of software testing is to give the best product to users/customers with minimum number of bugs/defects. Vikash Mishra(vikashmishra001@gmail.com)
  • 3. Need of Testing To demonstrate software does what it is supposed to do and does not do something which it is not supposed to do. To find defects as early as possible and get them fixed. To meet compliance with contractual or legal requirements Testing should provide sufficient information to the stake holders for decision making regarding release of the software/ system , for the next development step or handover to customers. Vikash Mishra(vikashmishra001@gmail.com)
  • 4. Test Plan Test plan is a document that describes how testing will be accomplished. It is similar to Project Plan. Five key characteristics defined in a Test Plan: Scope & Objectives: Defining what will be covered in a project Resource: What type and number of resources to be used to accomplish the objectives Schedule: Tasks and their schedules. Quality: Standards to be used and/or customized. Risk: Defines in advance what may happen to drive the plan off course, and what will be done to recover the situation. Vikash Mishra(vikashmishra001@gmail.com)
  • 5. Need for Test Plan Discuss issues early. Enables to decide in advance: How a project’s objectives will be met. What resources are available and what resources are required.. Time scales required. Quality desired. Controlling risk. Vikash Mishra(vikashmishra001@gmail.com)
  • 6. Functional Testing and Non-Functional Testing Functional Testing: Functional Testing refers to testing very specific action or function of the code. Functional testing tends to answer the question: CAN WE DO THIS? DOES THIS PARTICULAR FEATURE WORK? Functional Test – white box Tests at micro level of the programs that test each and every implemented functional task, ensuring that all code options are exercised. Requires knowledge of the internal code Functional Test – black box Testing that focuses solely on the outputs generated in response to selected inputs and execution conditions. Requirements are the only test basis and knowledge of the internal code is not required. Vikash Mishra(vikashmishra001@gmail.com)
  • 7. Functional Testing and Non-Functional Testing Non-Functional Testing: Non-Functional Testing refers to that aspect of software that may not relate to specific function or user action such as scalability or security. Non-Functional testing tends to answer the question: HOW MANY PEOPLE CAN LOG IN IT AT ONCE? HOW EASY IT IS TO HACK THE SOFTWARE? Testing that concentrates on the performance of the system like the response time, speed of execution, usability, availability etc. First check for “Functionality” and then for “Performance” Vikash Mishra(vikashmishra001@gmail.com)
  • 8. Four levels of Testing done in any Testing Project Unit Testing:Testing of individual software components or modules. Typically done by the programmer and not by testers, as it requires detailed knowledge of the internal program design and code. May require developing test driver modules or test harnesses. Unit testing is a software verification and validation method in which a programmer tests if individual units of source code are fit for use. A unit is the smallest testable part of an application. Integration Testing:In this type of testing both software component and hardware components are combined together and tested. Testing of integrated modules to verify combined functionality after integration. Modules are typically code modules, individual applications, client and server applications on a network, etc. This type of testing is especially relevant to client/server and distributed systems. Vikash Mishra(vikashmishra001@gmail.com)
  • 9. Four levels of Testing done in any Testing Project System Testing: System testing involves putting the new program in many different environments to ensure program works in typical customer environment. System testing is conducted on complete, integrated system to evaluate the system compliance with its specified requirements. The entire system is tested as per requirements. Acceptance Testing:Performed by customers or user representative. Supposed to be final level of testing and verifies whether product meets the agreed upon product acceptance criteria. Vikash Mishra(vikashmishra001@gmail.com)
  • 10. Black Box Testing Black Box Testing treats system as black box, so it does not use knowledge of internal structure or code. Black-box techniques (also called specification-based techniques) are a way to derive and select test conditions or test cases based on an analysis of the test basis documentation, whether functional or non-functional, for a component or system without reference to its internal structure. Main focus in black box testing is on the functionality of system as whole. Behavioural testing is also used for black box testing. Black-box techniques is also called specification-based techniques. Vikash Mishra(vikashmishra001@gmail.com)
  • 11. Black Box Testing Advantages of Black Box Testing: Tester can be non-technical. Used to verify contradictions in actual system and the specifications. Test cases can be designed as soon as the functional specifications are complete Disadvantages of Black Box Testing: The test inputs needs to be from large sample space. It is difficult to identify all possible inputs in limited testing time. So writing test cases is slow and difficult. Chances of having unidentified paths during this testing. Vikash Mishra(vikashmishra001@gmail.com)
  • 12. White Box Testing White box testing (WBT) is also called Structural or Glass box testing. White box testing involves looking at the structure of the code. When you know the internal structure of a product, tests can be conducted to ensure that the internal operations performed according to the specification. And all internal components have been adequately exercised. White Box Testing is coverage of the specification in the code. Vikash Mishra(vikashmishra001@gmail.com)
  • 13. White Box Testing Need of White Box Testing? To discover the following types of bugs: Logical error tend to creep into our work when we design and implement functions, conditions or controls that are out of the program. The design errors due to difference between logical flow of the program and the actual implementation. Typographical errors and syntax checking. Limitations of White Box Testing: Not possible for testing each and every path of the loops in program. This means exhaustive testing is impossible for large systems. This does not mean that WBT is not effective. By selecting important logical paths and data structure for testing is practically possible and effective. Vikash Mishra(vikashmishra001@gmail.com)
  • 14. Defect Variance of actual result from expected result. The difference between actual behaviour and the desired behaviour as stipulated by the requirements specifications A Defect that causes an error or negatively impacts a user/ customer is categorised as Failure Software does not do something which it is supposed to do. Does something which it is not supposed to do. Vikash Mishra(vikashmishra001@gmail.com)
  • 15. Defect Life Cycle New Opened Review Deferred Assign Duplicate Reopened Fixed Not a defect Retested Closed Vikash Mishra(vikashmishra001@gmail.com)
  • 16. Severity and Priority Severity indicates how bad the bug is and reflects its impact on the product and its users. Priority determines the order in which the product is to fixed. PRIORITY>> SEVERITY Vikash Mishra(vikashmishra001@gmail.com)
  • 17. Software Verification and Validation Verification: Process of evaluating a system or a component whether the products of a given development phase satisfy the conditions imposed on the start of phase. HAVE WE BUILD THE RIGHT SOFTWARE? DOES IT MATCH THE SPECIFICATIONS? Validation: Process of evaluating system or component during or at the end of development process to see whether it satisfies the specific requirements. HAVE WE BUILT THE RIGHT SOFTWARE? IS THIS WHAT CUSTOMER WANTS? Vikash Mishra(vikashmishra001@gmail.com)
  • 18. Retesting and Regression Testing Retest is the act of repeating a test to verify that the found defect has been correctly fixed. Regression Testing is the act of repeating other tests in the parallel area to ensure that the applied fix or change of the code has not introduced other errors or unexpected behaviour. Vikash Mishra(vikashmishra001@gmail.com)
  • 19. Inspection Review and Walkthrough Inspection: It is a technique in which the work product is examined for its compliance to specific standards and also checked against a history of common errors. Review: It is a technique in which the work product is discussed upon by a group of two or more persons and re-examined or revaluated for possible corrections. Walkthrough: It is a technique mostly done on the code developed, where the code is traced manually to monitor the state of the program variables as a way of analyzing the logic. This is Verification portion of Verification and Validation. Vikash Mishra(vikashmishra001@gmail.com)
  • 20. Difference between QA,QC and Testing Quality Assurance: A set of activities designed to ensure that the development and/or maintenance process is adequate to ensure a system will meet its objectives. QA is process oriented. As a QA, you question the ambiguous requirements and prepare proper documentation for the projects. All these practices help in preventing bugs/defects from an early stage. Quality Assurance makes sure you are doing the right things, the right way. Vikash Mishra(vikashmishra001@gmail.com)
  • 21. Difference between QA,QC and Testing Quality Control:A set of activities designed to evaluate a developed work product. QC is product oriented. QC implements the process developed by QA team. QC activities focus on finding defects in specific deliverables - e.g., are the defined requirements the right requirements. Quality Control makes sure the results of what you've done are what you expected. Vikash Mishra(vikashmishra001@gmail.com)
  • 22. Difference between QA,QC and Testing Testing: The process of executing a system with the intent of finding defect. Testing is product oriented and thus is in the QC domain. Testing for quality isn't assuring quality, it's controlling it. Vikash Mishra(vikashmishra001@gmail.com)
  • 23. Thank You VikashMishra Email: vikashmishra001@gmail.com Twitter: http://twitter.com/MishraVikash VikashMishra(vikashmishra001@gmail.com)