SlideShare a Scribd company logo
1 of 21
SOFTWARE TESTING
CMC Limited
Objectives
After completion of this chapter you will be able to:
• Explain what is Software Testing
• Understand the Software Testing objectives
• Understand the test plan
• Define white box & Black box testing
• Explain different test levels
• Explain the concepts of test cases suites,
scripts& scenarios
• Define and explain the testing cycle
CMC Limited
• Software Testing is the process used to help to identify the
correctness, completeness, security, and quality of
developed computer software.
• Testing is a process of technical investigation, performed
on behalf of stakeholders, that is intended to reveal quality-
related information about the product.
• Testing can never completely correct all the time.So it will
be continued.
• Software testing should be distinguished from the discipline
of Software Quality Assurance (SQA), which encompasses
all business process areas, not just testing.
Introduction
CMC Limited
• In SQA, software process specialists and
auditors take a broader view on software and its
development.
• They examine and change the software
engineering process itself to reduce the amount
of faults that end up in the code or deliver faster.
Introduction contd..
CMC Limited
Testing objectives
Introduction contd..
• Testing is a process of executing a program with
the intent of finding an error.
• A good test case is one that has a high
probability of finding an as yet undiscovered
error.
• A successful test is one that uncovers an as yet
undiscovered error.
• Testing demonstrates that the software appears
to be working as stated in the specifications.
• It cannot show the absence of defect , it can only
show that software defects are present.
CMC Limited
Roles in software testing
Introduction contd..
• Software testing is a process which is done by
software testers.
• Until the 1950s the term software tester was
used generally, but later it was also seen as a
separate profession.
• It has been established different roles:
• Test lead
• Tester
• Test designer
• Test automator
• Test administrator
CMC Limited
Roles in software testing
Introduction contd..
• Participants of testing team
• Tester
• Developer
• Customer
• Information Service Management He is the
person who collects information from the
customer
• Senior Organization Management
• Quality team
CMC Limited
When Testing should start
Introduction contd..
• In the early stage of testing life cycle it reduces the errors.
• The goal of Software Tester is to find bugs, find them as
early as possible, and make them sure they are fixed.
• The number one cause of Software bugs is the
Specification.
• The next largest source of bugs is the Design, that’s where
the programmers lay the plan for their Software.
• Coding errors is another familiar error in software testing .
• Typically these can be traced to the Software complexity,
poor documentation, schedule pressure or just plain dump
mistakes.
CMC Limited
When to Stop Testing
Introduction contd..
• It is difficult to determine.
• There are common factors in deciding when to stop
testing:
• Deadlines (release deadlines, testing deadlines.)
• Test cases completed with certain percentages
passed
• Test budget depleted
• Coverage of code/functionality/requirements reaches
a specified point
• The rate at which Bugs can be found is too small
• Beta or Alpha Testing period ends
• The risk in the project is under acceptable limit
CMC Limited
Test Plan
• The test strategy identifies multiple test levels,
which are going to be performed for the project.
• Activities at each level must be planned well in
advance and it has to be formally documented.
• Based on the individual plans only, the individual
test levels are carried out.
CMC Limited
Test plan contd..
• A sample Test Plan Outline is shown below:
•Testing tasks
•Environmental needs
•Responsibilities
•Staffing & Training
•Schedule
•Resources
•Risks & Contingencies
•Approvals
•Background
•Introduction
•Assumptions
•Test Items
•Features to be tested
•Features not to be tested
•Approach
•Item pass/fail criteria
•Suspension/Resumption criteria
•Test deliverables
CMC Limited
White box & black-box testing
• White box and black box testing are terms used to
describe the point of view a test engineer takes when
designing test cases.
• Black box being an external view of the test object
• white box being an internal view.
• White box testing uses an internal perspective of the
system to design test cases based on internal structure.
• White box requires programming skills to identify all paths
through the software.
• Black box testing takes an external perspective of the test
object to derive test cases.
• The test designer selects valid and invalid input and
determines the correct output. There is no knowledge of
the test object's internal structure.
CMC Limited
Test levels
• There are four level :
• Unit testing
• Integration testing
• System testing
• Acceptance testing
CMC Limited
• Unit testing is a procedure used to validate that
individual units of source code are working properly.
• Unit is the smallest testable part of an application
• In procedural programming a unit may be an individual
program, function, procedure, web page, menu etc,
while in object-oriented programming, the smallest unit
is always a Class; which may be a base/super class,
abstract class or derived/child class.
Test levels contd..
CMC Limited
The test levels contd..
• Integration testing exposes defects in the
interfaces and interaction between integrated
components (modules).
• Integration testing is the phase of software
testing in which individual software modules are
combined and tested as a group.
• It follows unit testing and precedes system
testing.
CMC Limited
The test levels contd..
• System testing tests an integrated system to
verify/validate that it meets its requirements.
• System testing is testing conducted on a
complete, integrated system to evaluate the
system's compliance with its specified
requirements.
• System testing falls within the scope of black
box testing, and as such, should require no
knowledge of the inner design of the code or
logic.
CMC Limited
• Acceptance testing can be conducted by the client. It
allows the end-user or customer or client to decide
whether or not to accept the product.
• In engineering and its various sub disciplines,
acceptance testing is performed
• Acceptance testing can be divide in two parts :
• Alpha testing
• Beta testing
The test levels contd..
CMC Limited
Test cases, suites, scripts and
scenarios
• In software engineering, the most common
definition of a test case is a set of conditions or
variables under which a tester will determine if a
requirement or use case upon an application is
partially or fully satisfied.
CMC Limited
Structure of test case
• Test cases consist three main parts :
•Results
•Expected results
•Actual result
•Activity
•Testing environment/configuration
•Initialization
•Finalization
•Actions
•Input data description
•Information
•Identifier
•Test case
owner
•Name
•Identifier of
requirement
•Purpose
•Dependencies
CMC Limited
Test cases, suites, scripts and
scenarios contd..
• Test Script
• A test script is a short program written in a
programming language used to test part of the
functionality of a software system.
• Test Suite
• The most common term for a collection of test
cases is a test suite.
• Scenario
• Scenario testing is a software testing activity. It uses
scenario tests, or simply scenarios, which are based
on a hypothetical story to help a person think
through a complex problem or system.
CMC Limited
Testing cycle
• Software testing is maintain through a chain of cycle
The stages of cycle are as follows:
• Requirements Analysis:
• Design phase,
• Test Planning
• Test Development:
• Test Execution
• Test Reporting
• Retesting the Defects

More Related Content

What's hot

Quality assurance and management, software engineering
Quality assurance and management, software engineeringQuality assurance and management, software engineering
Quality assurance and management, software engineeringRupesh Vaishnav
 
Software quality assurance
Software quality assuranceSoftware quality assurance
Software quality assuranceRizky Munggaran
 
Lecture 05 Software Quality Management
Lecture 05 Software Quality ManagementLecture 05 Software Quality Management
Lecture 05 Software Quality ManagementAchmad Solichin
 
Quality software management
Quality software managementQuality software management
Quality software managementArun Kumar
 
Software quality assurance
Software quality assuranceSoftware quality assurance
Software quality assuranceEr. Nancy
 
Software Quality Framework Introduction
Software Quality Framework IntroductionSoftware Quality Framework Introduction
Software Quality Framework IntroductionDon Hough
 
Quality management in software engineering
Quality management in software engineeringQuality management in software engineering
Quality management in software engineeringZain ul Abideen
 
Software quality assurance lecture 1
Software quality assurance lecture 1Software quality assurance lecture 1
Software quality assurance lecture 1Abdul Basit
 
Software Engineering (Software Quality Assurance)
Software Engineering (Software Quality Assurance)Software Engineering (Software Quality Assurance)
Software Engineering (Software Quality Assurance)ShudipPal
 
Planning for software quality assurance lecture 6
Planning for software quality assurance lecture 6Planning for software quality assurance lecture 6
Planning for software quality assurance lecture 6Abdul Basit
 
Software quality assurance
Software quality assuranceSoftware quality assurance
Software quality assuranceRameesha Sadaqat
 
Chapter 8 software quality assurance and configuration audit
Chapter 8 software quality assurance and configuration auditChapter 8 software quality assurance and configuration audit
Chapter 8 software quality assurance and configuration auditCliftone Mullah
 
Term Paper - Quality Assurance in Software Development
Term Paper - Quality Assurance in Software DevelopmentTerm Paper - Quality Assurance in Software Development
Term Paper - Quality Assurance in Software DevelopmentSharad Srivastava
 
Software Quality Assurance
Software Quality Assurance Software Quality Assurance
Software Quality Assurance ShashankBajpai24
 
Software quality assurance and cyber security
Software quality assurance and cyber securitySoftware quality assurance and cyber security
Software quality assurance and cyber securityNascenia IT
 

What's hot (20)

Quality assurance and management, software engineering
Quality assurance and management, software engineeringQuality assurance and management, software engineering
Quality assurance and management, software engineering
 
Software quality assurance
Software quality assuranceSoftware quality assurance
Software quality assurance
 
Sqa
SqaSqa
Sqa
 
Lecture 05 Software Quality Management
Lecture 05 Software Quality ManagementLecture 05 Software Quality Management
Lecture 05 Software Quality Management
 
Quality software management
Quality software managementQuality software management
Quality software management
 
Software quality assurance
Software quality assuranceSoftware quality assurance
Software quality assurance
 
Software Quality Framework Introduction
Software Quality Framework IntroductionSoftware Quality Framework Introduction
Software Quality Framework Introduction
 
Quality management in software engineering
Quality management in software engineeringQuality management in software engineering
Quality management in software engineering
 
Software quality assurance lecture 1
Software quality assurance lecture 1Software quality assurance lecture 1
Software quality assurance lecture 1
 
Software Engineering (Software Quality Assurance)
Software Engineering (Software Quality Assurance)Software Engineering (Software Quality Assurance)
Software Engineering (Software Quality Assurance)
 
Planning for software quality assurance lecture 6
Planning for software quality assurance lecture 6Planning for software quality assurance lecture 6
Planning for software quality assurance lecture 6
 
Sqa plan
Sqa planSqa plan
Sqa plan
 
Software quality assurance
Software quality assuranceSoftware quality assurance
Software quality assurance
 
Chapter 8 software quality assurance and configuration audit
Chapter 8 software quality assurance and configuration auditChapter 8 software quality assurance and configuration audit
Chapter 8 software quality assurance and configuration audit
 
Qa
QaQa
Qa
 
Term Paper - Quality Assurance in Software Development
Term Paper - Quality Assurance in Software DevelopmentTerm Paper - Quality Assurance in Software Development
Term Paper - Quality Assurance in Software Development
 
Software Quality Assurance
Software Quality Assurance Software Quality Assurance
Software Quality Assurance
 
Software Quality Management
Software Quality ManagementSoftware Quality Management
Software Quality Management
 
Software quality assurance
Software quality assuranceSoftware quality assurance
Software quality assurance
 
Software quality assurance and cyber security
Software quality assurance and cyber securitySoftware quality assurance and cyber security
Software quality assurance and cyber security
 

Viewers also liked (16)

Resilience 2.0
Resilience 2.0Resilience 2.0
Resilience 2.0
 
Women of Distinction Magazine - Ingrid läderach steven
Women of Distinction Magazine - Ingrid läderach stevenWomen of Distinction Magazine - Ingrid läderach steven
Women of Distinction Magazine - Ingrid läderach steven
 
Don’t let fido(finished)
Don’t let fido(finished)Don’t let fido(finished)
Don’t let fido(finished)
 
Untitled Presentation
Untitled PresentationUntitled Presentation
Untitled Presentation
 
Software Processes
Software ProcessesSoftware Processes
Software Processes
 
12_-_Collections_Framework
12_-_Collections_Framework12_-_Collections_Framework
12_-_Collections_Framework
 
1- java
1- java1- java
1- java
 
2 - OOPS
2 - OOPS2 - OOPS
2 - OOPS
 
Software testing strategies
Software testing strategiesSoftware testing strategies
Software testing strategies
 
Lista de Chequeo Scrum
Lista de Chequeo ScrumLista de Chequeo Scrum
Lista de Chequeo Scrum
 
Code Crime Scene pawel klimczyk
Code Crime Scene   pawel klimczykCode Crime Scene   pawel klimczyk
Code Crime Scene pawel klimczyk
 
VIEW26 - for software quality professionals
VIEW26 - for software quality professionalsVIEW26 - for software quality professionals
VIEW26 - for software quality professionals
 
LSI - PMP - Training material
LSI - PMP - Training materialLSI - PMP - Training material
LSI - PMP - Training material
 
Nuevo modelo de Gestión del IESS
Nuevo modelo de Gestión del IESSNuevo modelo de Gestión del IESS
Nuevo modelo de Gestión del IESS
 
Recruitment_Process[1]
Recruitment_Process[1]Recruitment_Process[1]
Recruitment_Process[1]
 
Blue Green Deployment com Docker
Blue Green Deployment com DockerBlue Green Deployment com Docker
Blue Green Deployment com Docker
 

Similar to Software Testing

unit-2_20-july-2018 (1).pptx
unit-2_20-july-2018 (1).pptxunit-2_20-july-2018 (1).pptx
unit-2_20-july-2018 (1).pptxPriyaFulpagare1
 
Software testing-and-analysis
Software testing-and-analysisSoftware testing-and-analysis
Software testing-and-analysisWBUTTUTORIALS
 
Software Engineering (Testing Overview)
Software Engineering (Testing Overview)Software Engineering (Testing Overview)
Software Engineering (Testing Overview)ShudipPal
 
Software testing methods, levels and types
Software testing methods, levels and typesSoftware testing methods, levels and types
Software testing methods, levels and typesConfiz
 
Test planning and software's engineering
Test planning and software's engineeringTest planning and software's engineering
Test planning and software's engineeringMansiganeshJawale
 
Software Quality Assurance
Software Quality AssuranceSoftware Quality Assurance
Software Quality AssuranceSaqib Raza
 
Fundamentals of software part 1
Fundamentals of software part 1Fundamentals of software part 1
Fundamentals of software part 1Siddharth Sharma
 

Similar to Software Testing (20)

unit-2_20-july-2018 (1).pptx
unit-2_20-july-2018 (1).pptxunit-2_20-july-2018 (1).pptx
unit-2_20-july-2018 (1).pptx
 
Learn software testing
Learn software testingLearn software testing
Learn software testing
 
Testing fundamentals
Testing fundamentalsTesting fundamentals
Testing fundamentals
 
Software testing-and-analysis
Software testing-and-analysisSoftware testing-and-analysis
Software testing-and-analysis
 
Software Engineering (Testing Overview)
Software Engineering (Testing Overview)Software Engineering (Testing Overview)
Software Engineering (Testing Overview)
 
UNIT 1.pptx
UNIT 1.pptxUNIT 1.pptx
UNIT 1.pptx
 
Software testing methods, levels and types
Software testing methods, levels and typesSoftware testing methods, levels and types
Software testing methods, levels and types
 
Manual testing - Introduction to Manual Software testing
Manual testing - Introduction to Manual Software testingManual testing - Introduction to Manual Software testing
Manual testing - Introduction to Manual Software testing
 
Types of Testing
Types of TestingTypes of Testing
Types of Testing
 
6. oose testing
6. oose testing6. oose testing
6. oose testing
 
L software testing
L   software testingL   software testing
L software testing
 
Software testing
Software testingSoftware testing
Software testing
 
Software testing
Software testingSoftware testing
Software testing
 
Test planning and software's engineering
Test planning and software's engineeringTest planning and software's engineering
Test planning and software's engineering
 
Software Testing
Software Testing Software Testing
Software Testing
 
QA Basics and PM Overview
QA Basics and PM OverviewQA Basics and PM Overview
QA Basics and PM Overview
 
White box testing
White box testingWhite box testing
White box testing
 
Software Quality Assurance
Software Quality AssuranceSoftware Quality Assurance
Software Quality Assurance
 
Software testing introduction
Software testing  introductionSoftware testing  introduction
Software testing introduction
 
Fundamentals of software part 1
Fundamentals of software part 1Fundamentals of software part 1
Fundamentals of software part 1
 

More from Krishna Sujeer

1-informatica-training
1-informatica-training1-informatica-training
1-informatica-trainingKrishna Sujeer
 
SAP REQRUITMENT NOTES03
SAP REQRUITMENT NOTES03SAP REQRUITMENT NOTES03
SAP REQRUITMENT NOTES03Krishna Sujeer
 
KRISHNA NAYAKSujeer B.E(IT), MS(QM) , PGDCA,ITIL PMP,
KRISHNA NAYAKSujeer B.E(IT), MS(QM) , PGDCA,ITIL PMP,KRISHNA NAYAKSujeer B.E(IT), MS(QM) , PGDCA,ITIL PMP,
KRISHNA NAYAKSujeer B.E(IT), MS(QM) , PGDCA,ITIL PMP,Krishna Sujeer
 
KRISHNA NAYAKSujeer B.E(IT), MS(QM) , PGDCA,ITIL PMP,
KRISHNA NAYAKSujeer B.E(IT), MS(QM) , PGDCA,ITIL PMP,KRISHNA NAYAKSujeer B.E(IT), MS(QM) , PGDCA,ITIL PMP,
KRISHNA NAYAKSujeer B.E(IT), MS(QM) , PGDCA,ITIL PMP,Krishna Sujeer
 
KEYTAKEAWAYAS Krishna Nayak v2.0 Notes
KEYTAKEAWAYAS Krishna Nayak v2.0 NotesKEYTAKEAWAYAS Krishna Nayak v2.0 Notes
KEYTAKEAWAYAS Krishna Nayak v2.0 NotesKrishna Sujeer
 
ETI_Krishna_Nayak_Sujeer
ETI_Krishna_Nayak_SujeerETI_Krishna_Nayak_Sujeer
ETI_Krishna_Nayak_SujeerKrishna Sujeer
 
itil2011foundation-allvolumes-signed-131020235516-phpapp01 (1)
itil2011foundation-allvolumes-signed-131020235516-phpapp01 (1)itil2011foundation-allvolumes-signed-131020235516-phpapp01 (1)
itil2011foundation-allvolumes-signed-131020235516-phpapp01 (1)Krishna Sujeer
 
Basic adminstration and configuration techniques
Basic adminstration and configuration techniquesBasic adminstration and configuration techniques
Basic adminstration and configuration techniquesKrishna Sujeer
 
SAP HCM CORE MODULES V1.0
SAP HCM CORE MODULES V1.0SAP HCM CORE MODULES V1.0
SAP HCM CORE MODULES V1.0Krishna Sujeer
 
MASTER_Trainer Notes_V5.2
MASTER_Trainer Notes_V5.2MASTER_Trainer Notes_V5.2
MASTER_Trainer Notes_V5.2Krishna Sujeer
 
SAP REQRUITMENT NOTES03
SAP REQRUITMENT NOTES03SAP REQRUITMENT NOTES03
SAP REQRUITMENT NOTES03Krishna Sujeer
 
INTRODUCTION TO BIG DATA HADOOP
INTRODUCTION TO BIG DATA HADOOPINTRODUCTION TO BIG DATA HADOOP
INTRODUCTION TO BIG DATA HADOOPKrishna Sujeer
 

More from Krishna Sujeer (17)

1-informatica-training
1-informatica-training1-informatica-training
1-informatica-training
 
SAP REQRUITMENT NOTES03
SAP REQRUITMENT NOTES03SAP REQRUITMENT NOTES03
SAP REQRUITMENT NOTES03
 
KRISHNA NAYAKSujeer B.E(IT), MS(QM) , PGDCA,ITIL PMP,
KRISHNA NAYAKSujeer B.E(IT), MS(QM) , PGDCA,ITIL PMP,KRISHNA NAYAKSujeer B.E(IT), MS(QM) , PGDCA,ITIL PMP,
KRISHNA NAYAKSujeer B.E(IT), MS(QM) , PGDCA,ITIL PMP,
 
KRISHNA NAYAKSujeer B.E(IT), MS(QM) , PGDCA,ITIL PMP,
KRISHNA NAYAKSujeer B.E(IT), MS(QM) , PGDCA,ITIL PMP,KRISHNA NAYAKSujeer B.E(IT), MS(QM) , PGDCA,ITIL PMP,
KRISHNA NAYAKSujeer B.E(IT), MS(QM) , PGDCA,ITIL PMP,
 
KEYTAKEAWAYAS Krishna Nayak v2.0 Notes
KEYTAKEAWAYAS Krishna Nayak v2.0 NotesKEYTAKEAWAYAS Krishna Nayak v2.0 Notes
KEYTAKEAWAYAS Krishna Nayak v2.0 Notes
 
Selenium.PDF
Selenium.PDFSelenium.PDF
Selenium.PDF
 
ETI_Krishna_Nayak_Sujeer
ETI_Krishna_Nayak_SujeerETI_Krishna_Nayak_Sujeer
ETI_Krishna_Nayak_Sujeer
 
KRISHNA_NAYAK_Sujeer
KRISHNA_NAYAK_SujeerKRISHNA_NAYAK_Sujeer
KRISHNA_NAYAK_Sujeer
 
itil2011foundation-allvolumes-signed-131020235516-phpapp01 (1)
itil2011foundation-allvolumes-signed-131020235516-phpapp01 (1)itil2011foundation-allvolumes-signed-131020235516-phpapp01 (1)
itil2011foundation-allvolumes-signed-131020235516-phpapp01 (1)
 
Basic adminstration and configuration techniques
Basic adminstration and configuration techniquesBasic adminstration and configuration techniques
Basic adminstration and configuration techniques
 
SAP HCM CORE MODULES V1.0
SAP HCM CORE MODULES V1.0SAP HCM CORE MODULES V1.0
SAP HCM CORE MODULES V1.0
 
20410B_01
20410B_0120410B_01
20410B_01
 
MASTER_Trainer Notes_V5.2
MASTER_Trainer Notes_V5.2MASTER_Trainer Notes_V5.2
MASTER_Trainer Notes_V5.2
 
7_-_Inheritance
7_-_Inheritance7_-_Inheritance
7_-_Inheritance
 
SAP REQRUITMENT NOTES03
SAP REQRUITMENT NOTES03SAP REQRUITMENT NOTES03
SAP REQRUITMENT NOTES03
 
Big Data & Hadoop
Big Data & HadoopBig Data & Hadoop
Big Data & Hadoop
 
INTRODUCTION TO BIG DATA HADOOP
INTRODUCTION TO BIG DATA HADOOPINTRODUCTION TO BIG DATA HADOOP
INTRODUCTION TO BIG DATA HADOOP
 

Software Testing

  • 2. CMC Limited Objectives After completion of this chapter you will be able to: • Explain what is Software Testing • Understand the Software Testing objectives • Understand the test plan • Define white box & Black box testing • Explain different test levels • Explain the concepts of test cases suites, scripts& scenarios • Define and explain the testing cycle
  • 3. CMC Limited • Software Testing is the process used to help to identify the correctness, completeness, security, and quality of developed computer software. • Testing is a process of technical investigation, performed on behalf of stakeholders, that is intended to reveal quality- related information about the product. • Testing can never completely correct all the time.So it will be continued. • Software testing should be distinguished from the discipline of Software Quality Assurance (SQA), which encompasses all business process areas, not just testing. Introduction
  • 4. CMC Limited • In SQA, software process specialists and auditors take a broader view on software and its development. • They examine and change the software engineering process itself to reduce the amount of faults that end up in the code or deliver faster. Introduction contd..
  • 5. CMC Limited Testing objectives Introduction contd.. • Testing is a process of executing a program with the intent of finding an error. • A good test case is one that has a high probability of finding an as yet undiscovered error. • A successful test is one that uncovers an as yet undiscovered error. • Testing demonstrates that the software appears to be working as stated in the specifications. • It cannot show the absence of defect , it can only show that software defects are present.
  • 6. CMC Limited Roles in software testing Introduction contd.. • Software testing is a process which is done by software testers. • Until the 1950s the term software tester was used generally, but later it was also seen as a separate profession. • It has been established different roles: • Test lead • Tester • Test designer • Test automator • Test administrator
  • 7. CMC Limited Roles in software testing Introduction contd.. • Participants of testing team • Tester • Developer • Customer • Information Service Management He is the person who collects information from the customer • Senior Organization Management • Quality team
  • 8. CMC Limited When Testing should start Introduction contd.. • In the early stage of testing life cycle it reduces the errors. • The goal of Software Tester is to find bugs, find them as early as possible, and make them sure they are fixed. • The number one cause of Software bugs is the Specification. • The next largest source of bugs is the Design, that’s where the programmers lay the plan for their Software. • Coding errors is another familiar error in software testing . • Typically these can be traced to the Software complexity, poor documentation, schedule pressure or just plain dump mistakes.
  • 9. CMC Limited When to Stop Testing Introduction contd.. • It is difficult to determine. • There are common factors in deciding when to stop testing: • Deadlines (release deadlines, testing deadlines.) • Test cases completed with certain percentages passed • Test budget depleted • Coverage of code/functionality/requirements reaches a specified point • The rate at which Bugs can be found is too small • Beta or Alpha Testing period ends • The risk in the project is under acceptable limit
  • 10. CMC Limited Test Plan • The test strategy identifies multiple test levels, which are going to be performed for the project. • Activities at each level must be planned well in advance and it has to be formally documented. • Based on the individual plans only, the individual test levels are carried out.
  • 11. CMC Limited Test plan contd.. • A sample Test Plan Outline is shown below: •Testing tasks •Environmental needs •Responsibilities •Staffing & Training •Schedule •Resources •Risks & Contingencies •Approvals •Background •Introduction •Assumptions •Test Items •Features to be tested •Features not to be tested •Approach •Item pass/fail criteria •Suspension/Resumption criteria •Test deliverables
  • 12. CMC Limited White box & black-box testing • White box and black box testing are terms used to describe the point of view a test engineer takes when designing test cases. • Black box being an external view of the test object • white box being an internal view. • White box testing uses an internal perspective of the system to design test cases based on internal structure. • White box requires programming skills to identify all paths through the software. • Black box testing takes an external perspective of the test object to derive test cases. • The test designer selects valid and invalid input and determines the correct output. There is no knowledge of the test object's internal structure.
  • 13. CMC Limited Test levels • There are four level : • Unit testing • Integration testing • System testing • Acceptance testing
  • 14. CMC Limited • Unit testing is a procedure used to validate that individual units of source code are working properly. • Unit is the smallest testable part of an application • In procedural programming a unit may be an individual program, function, procedure, web page, menu etc, while in object-oriented programming, the smallest unit is always a Class; which may be a base/super class, abstract class or derived/child class. Test levels contd..
  • 15. CMC Limited The test levels contd.. • Integration testing exposes defects in the interfaces and interaction between integrated components (modules). • Integration testing is the phase of software testing in which individual software modules are combined and tested as a group. • It follows unit testing and precedes system testing.
  • 16. CMC Limited The test levels contd.. • System testing tests an integrated system to verify/validate that it meets its requirements. • System testing is testing conducted on a complete, integrated system to evaluate the system's compliance with its specified requirements. • System testing falls within the scope of black box testing, and as such, should require no knowledge of the inner design of the code or logic.
  • 17. CMC Limited • Acceptance testing can be conducted by the client. It allows the end-user or customer or client to decide whether or not to accept the product. • In engineering and its various sub disciplines, acceptance testing is performed • Acceptance testing can be divide in two parts : • Alpha testing • Beta testing The test levels contd..
  • 18. CMC Limited Test cases, suites, scripts and scenarios • In software engineering, the most common definition of a test case is a set of conditions or variables under which a tester will determine if a requirement or use case upon an application is partially or fully satisfied.
  • 19. CMC Limited Structure of test case • Test cases consist three main parts : •Results •Expected results •Actual result •Activity •Testing environment/configuration •Initialization •Finalization •Actions •Input data description •Information •Identifier •Test case owner •Name •Identifier of requirement •Purpose •Dependencies
  • 20. CMC Limited Test cases, suites, scripts and scenarios contd.. • Test Script • A test script is a short program written in a programming language used to test part of the functionality of a software system. • Test Suite • The most common term for a collection of test cases is a test suite. • Scenario • Scenario testing is a software testing activity. It uses scenario tests, or simply scenarios, which are based on a hypothetical story to help a person think through a complex problem or system.
  • 21. CMC Limited Testing cycle • Software testing is maintain through a chain of cycle The stages of cycle are as follows: • Requirements Analysis: • Design phase, • Test Planning • Test Development: • Test Execution • Test Reporting • Retesting the Defects

Editor's Notes

  1. using <asp:Image>, <asp:Label>, <asp:DropDownList> Server Controls.
  2. For this page we mimic the previously created page (slide 7) using <asp:Image>, <asp:Label>, <asp:DropDownList> Server Controls.
  3. Alpha testing is simulated or actual operational testing by potential users/customers or an independent test team at the developers' site. Beta testing comes after alpha testing. Versions of the software, known as beta versions, are released to a limited audience outside of the company.
  4. Notice that in above fig. there an abstract class called BaseDataList groups DataGrid and DataList. Another abstract class, ListControl, encompasses CheckBoxList, RadioButtonList, DropDownList, and ListBox. A third abstract class called BaseValidator contains all validation controls. Within the whole set of HTML and Web controls there are four different logically related groups of controls: HTML intrinsic controls, rich controls, validation, and bound list controls. HTML controls represent the bridge between ASP and ASP.NET. Normally, plain HTML code is not programmatically accessible while the page source code is being processed on the server. The only exception to this is when a control is explicitly marked as runat=server. When this happens, the HTML element is initialized through the corresponding HTML control, as shown in above Figure . This is a good way to ease the porting of existing code from ASP to ASP.NET.