SlideShare a Scribd company logo
1 of 32
• Fundamentals of Software Testing,
• Testing during development life cycle,
• Requirement Traceability matrix, essentials, Work
bench
• Important Features of Testing Process,
• Misconceptions,
• Principles and salient and policy of Software testing,
Test Strategy,
• Test Planning
• Testing Process and number of defects found,
• Test team efficiency,
• Mutation testing,
• challenges,
• Contd…
Unit 2:-Test Planning and Management
1
• test team approach,
• Process problem faced, Cost aspect,
• establishing testing policy, methods, structured
approach,
• categories of defect, Defect/ error/ mistake in
software,
• Developing Test Strategy and Plan,
• Testing process,
• Attitude towards testing, approaches, challenges,
• Raising management awareness for testing,
• skills required by tester.
Unit 2:-Test Planning and
Management
2
Software Testing Definition
• Testing
•It is the process of exercising or evaluating a system or
system component by manual or automated means to verify
that it satisfies specified requirements – [IEEE 83a]
• Process
• Sequence of steps performed for a given purpose [IEEE]
• Software Process
• A set of activities, methods, practices and transformations
that people use to develop and maintain software and
associated products [SEI-CMM]
Review-Software Testing
1. It is impossible to test a program completely.
2. Software testing is a risk-based exercise.
3. Testing cannot show the absence of bugs.
4. The more bugs you find, the more bugs there
are.
5. Not all bugs found will be fixed.
6. It is difficult to say when a bug is indeed a bug.
7. Specifications are never final.
8. Software testers are not the most popular
members of a project.
9. Software testing is a disciplined and technical
profession.
Testing during development life cycle
Unit Testing
• It is a level of the software testing process where
individual units/components of a software/system are
tested
• The purpose is to validate that each unit of the software
performs as designed
• It is a method by which individual units of source code
are tested to determine if they are fit for use
Unit Testing
• Benefits :-
• 1. Early detection of software defects
• 2. Provides scope for change or update
• 3.Simplifies integration testing
• 4.Proper documentation can maintain
• 5. Contributes in good design of overall software
Integration and System Testing
• Testing the interaction between the modules and interaction
with other systems externally is called integration testing
• Integration testing starts when two of the product components
are available and ends when all component interfaces have been
tested
• Integration testing is both a type of testing and a phase of
testing
• The testing conducted on the complete integrated products and
solutions to evaluate system compliance with specified
requirements on functional and nonfunctional aspects is called
system testing
• It is the first level of software testing where the application is
tested as a whole
Acceptance Testing
• Acceptance testing is done by the customer or by
the representative of the customer to check
whether the product is ready for use in the real-
life environment
• Following test cases can be included for acceptance testing
• End-to-end functionality verification
• Domain tests
• User scenario tests
• Basic sanity tests
• New functionality
• A few non-functional tests
• Tests pertaining to legal obligations and service level agreements
• Acceptance test data
Requirement Traceability matrix
• RTM captures all requirements proposed by
the client or development team and their
traceability in a single document delivered at
the conclusion of the life-cycle.
• In other words, it is a document that maps and
traces user requirement with test cases
• The requirements traceability matrix is usually
developed in concurrence with the initial list of
requirements (either the user requirement or
functional requirement specification)
RTM Essentials
• It ensure requirement traceability and generate
the actual requirement traceability document.
• organizations might use Excel spreadsheets to
keep a table of requirements, despite this being
extremely difficult to maintain manually.
• In more complicated systems, the traceability
matrix may include references to additional
documentation, including user requirements,
risk assessments, etc.
Workbench of Testing
• A Workbench is a method of documenting how
a particular activity must be fulfilled.
• A workbench is referred to a stages, steps, and
assignments while performing certain activities
in testing.
• A workbench gives you an opportunity to
execute any one task with appropriate software
testing.
Workbench Phases
1. Requirement phase:- The input data – the
requirements of clients; we perform a task – writing a
document with the customer’s requirements, we check
the suitability of a document to all needs of client, and
receive the output – requirement document.
2. Design phase:- The input data – the requirement
document, we execute the preparing a technical
document; review/test is performed to see if the design
document is technically right and transfers all the
requirements in the requirement document, and
receive a technical document.
3. Execution phase:- It is the actual performance of the
project. The input data – the technical document; the
performance is nothing but realization/ coding
according to the technical document, and the output
data – the source code.
Workbench Phases
1. Testing phase workbench
It is the stage of software testing. The input data – the
source code which is required testing; the realization –
implementation of the test case and the output – the
results of software testing.
2. Distribution phase
There are two inputs for this step – the source code
which requires of customers and the source code with
the results of testing. The output of this project is the
product which is ready for use.
3. Maintenance phase
The input – the results of distribution, execution –
execution of the last customer requests, the running
regression software testing after every changed
customer request, and the output is a new release.
Important Features of Testing Process
1. Testing is destructive process, But its
constructive destruction
2. Testing needs positive approach with
consideration that there is defect
3. If test dose not detect defect present in system,
then its unsuccessful test
4. Root cause analysis and corrective/preventive
actions must be mentioned.
5. Performing regression testing when defect are
resolved by development team
6. Proper test helps to improve over all product.
Misconceptions about Testing and Defects
• Testers can test the quality of product at end of
development process.
• Defect found in testing are blamed on developers .
• Defect found by customers are blamed on testers.
• Complete testing is done
• Zero defect software (product) creation.
• Tester can find all defects in limited period
• Testing is manual process, Automation involve
optionally
• Testing process is simple than development step.
• Testing required less efforts
• Quality assurance is secondary based on brand value.
Generalized Principles of Software testing,
1. Programmers/ team must avoid testing their
own works products
2. Thoroughly inspect results of each test case
has to found to identify weaker area in
software
3. Defects indicates process failure
4. Initiate actions for correction, corrective
action & preventive action.
Salient features of good Software testing
1. Capture user requirements
2. Capturing user needs
3. Design objective must define properly
4. User interface simple and easy to understand
5. Internal Structure complex but simple to
understand
6. Execution of code reduce risk of failure
Test Policies
• Test policies are generally defined by senior
management try to cover all aspects of testing.
• It decides framework of testing towards
customer satisfaction.
• Testing will performed against TQM principles
to find and fulfill customer centric approach
Test Strategy or Approach
• Globally, there is unique test policy decided by
management but it can varies as per customer,
Deadline, Product, Project etc.
• Definition of coverage is defined for testing
(Functional, requirements and features for
different products, Customer and project)
• Level of testing must monitored and maintained
(unit to acceptance testing)
• How much testing manually and when to
automate has been planned and executed.
• Number of developer and testers are assigned in
proportion.
Test Planning
• Test planning is first activity of test team
• Test plan are defined throughout SDLC
• Test plan must be realistic and talk about
limitations and constraints in system
1. Plan testing efforts adequately with assumption
that defects are exists in software
2. Successful tester founds defect in systems not
appreciates developer
3. Testing dose not completed at end of
development cycle, (plan for maintenance)
4. Verification(do-right thing) and validation(right-
thing do) must done at each phase of testing.
Testing Process and number of defects
found in testing
• In real time, As we find more defects, there is
probability of finding some more defects.
Governed by teams defect finding ability.
• Figure :- defect trend
• As tester assures one defect may leads multiple
defects and count of defect will increasing
defect trend
Test team efficiency
• It’s a defect finding rate of particular test team
• More the efficient team, Less the defects found in
system by customer, As these are resolved by
developer in iteration of product/service.
• Every test manager must aware of test team
efficiency which should tends towards 100%
• Ex. 90% means, 500 defects are reported by team
still there exists 50 more defects possible, 95%
still 25 more. 100 no more defects(practically not
achievable).
• Efficiency can calculate using old success rates.
Mutation testing
• This testing use to check capability of test
program and test cases to find defects
• This also known as test case efficiency.
• If original program is changed(due to any
reason) and some defects are added in system
called mutant of original program and process
termed as mutation.
Challenges in testing
1. Challenges associated with developer team,
Customer needs, Management perspective
2. Requirements are not clear, complete,
consistent, measurable and testable
3. Requirements are wrongly documented &
inspected by business & system analyst
4. Code logic may difficult to capture
5. Error handling may be difficult to capture
Test team & approaches
• Type of organization & Type of product
developed to be tested define test team.
• There may or may not be separate testing team
for each product to be developed.
1. Developer become testers –Small size team
2. Independent testing team- Assigns test manager
3. Domain experts doing software testing –System
and acceptance testing
4. Test team reporting development manager-Most
common test team approach
Process problem faced in Testing
• Defects are introduce in software due to incorrect
processes, The basic constituents (part) of processes are
:-
1. People :- user-specifying requirements, Business
analyst-document requirements, Test manager define
test plan, tester define test case etc.
2. Material:- Requirement docs, development standards,
guidelines must provide properly
3. Machines :-Simulators, real time objects defined
4. Methods:- Test planning, defining, test data may not
proper.
5. Economics of testing:-Customer dissatisfaction
inversely proportional to testing efforts
Cost aspect in Testing
• Cost of quality includes cost of appraisal,
prevention and failure cost of product/service
• Testing is costly to organization, so it try to
keep as minimum as possible
• As per economics of testing cost has to
manage
• Cost include :-Capture requirements, Conduct
analysis, ask queries, Design test cases high
and low level, write code, automation test tool,
create final product and maintain.
Structured approach for testing
• Establish testing policies
• Use standard methods
• Four types of wastes are involved in
structured approch
• Waste in wrong development
• Waste in testing to detect defects
• Wastage as wrong specification
Sample Test case
,
, methods,,
categories of defect, Defect/ error/ mistake in
software,
Developing Test Strategy and Plan,
Testing process,
Attitude towards testing, approaches,
challenges,
Raising management awareness for testing,
skills required by tester.

More Related Content

Similar to unit-2_20-july-2018 (1).pptx

Fundamentals of Software Engineering
Fundamentals of Software Engineering Fundamentals of Software Engineering
Fundamentals of Software Engineering Madhar Khan Pathan
 
Software Engineering (Software Quality Assurance & Testing: Supplementary Mat...
Software Engineering (Software Quality Assurance & Testing: Supplementary Mat...Software Engineering (Software Quality Assurance & Testing: Supplementary Mat...
Software Engineering (Software Quality Assurance & Testing: Supplementary Mat...ShudipPal
 
Software testing methods, levels and types
Software testing methods, levels and typesSoftware testing methods, levels and types
Software testing methods, levels and typesConfiz
 
Testing throughout the software life cycle - Testing & Implementation
Testing throughout the software life cycle - Testing & ImplementationTesting throughout the software life cycle - Testing & Implementation
Testing throughout the software life cycle - Testing & Implementationyogi syafrialdi
 
Testing strategies,techniques & test case SE
Testing strategies,techniques & test case SETesting strategies,techniques & test case SE
Testing strategies,techniques & test case SEMeet1020
 
DISE - Software Testing and Quality Management
DISE - Software Testing and Quality ManagementDISE - Software Testing and Quality Management
DISE - Software Testing and Quality ManagementRasan Samarasinghe
 
Manual testing interview questions and answers
Manual testing interview questions and answersManual testing interview questions and answers
Manual testing interview questions and answersRajnish Sharma
 
Quality assuarance bharath anche (1)
Quality assuarance bharath anche (1)Quality assuarance bharath anche (1)
Quality assuarance bharath anche (1)bharathanche
 
risk based testing and regression testing
risk based testing and regression testingrisk based testing and regression testing
risk based testing and regression testingToshi Patel
 
Manual testing concepts course 1
Manual testing concepts course 1Manual testing concepts course 1
Manual testing concepts course 1Raghu Kiran
 
Role of Testing
Role of Testing Role of Testing
Role of Testing Rishu Seth
 
Building a software testing environment
Building a software testing environmentBuilding a software testing environment
Building a software testing environmentHimanshu
 

Similar to unit-2_20-july-2018 (1).pptx (20)

6. oose testing
6. oose testing6. oose testing
6. oose testing
 
Fundamentals of Software Engineering
Fundamentals of Software Engineering Fundamentals of Software Engineering
Fundamentals of Software Engineering
 
Software Engineering (Software Quality Assurance & Testing: Supplementary Mat...
Software Engineering (Software Quality Assurance & Testing: Supplementary Mat...Software Engineering (Software Quality Assurance & Testing: Supplementary Mat...
Software Engineering (Software Quality Assurance & Testing: Supplementary Mat...
 
SDLCTesting
SDLCTestingSDLCTesting
SDLCTesting
 
Software testing methods, levels and types
Software testing methods, levels and typesSoftware testing methods, levels and types
Software testing methods, levels and types
 
Learn software testing
Learn software testingLearn software testing
Learn software testing
 
Software testing
Software testingSoftware testing
Software testing
 
Testing fundamentals
Testing fundamentalsTesting fundamentals
Testing fundamentals
 
Testing throughout the software life cycle - Testing & Implementation
Testing throughout the software life cycle - Testing & ImplementationTesting throughout the software life cycle - Testing & Implementation
Testing throughout the software life cycle - Testing & Implementation
 
Testing strategies,techniques & test case SE
Testing strategies,techniques & test case SETesting strategies,techniques & test case SE
Testing strategies,techniques & test case SE
 
DISE - Software Testing and Quality Management
DISE - Software Testing and Quality ManagementDISE - Software Testing and Quality Management
DISE - Software Testing and Quality Management
 
Manual testing interview questions and answers
Manual testing interview questions and answersManual testing interview questions and answers
Manual testing interview questions and answers
 
Sslc
SslcSslc
Sslc
 
Quality assuarance bharath anche (1)
Quality assuarance bharath anche (1)Quality assuarance bharath anche (1)
Quality assuarance bharath anche (1)
 
Software Testing
Software TestingSoftware Testing
Software Testing
 
risk based testing and regression testing
risk based testing and regression testingrisk based testing and regression testing
risk based testing and regression testing
 
Manual testing concepts course 1
Manual testing concepts course 1Manual testing concepts course 1
Manual testing concepts course 1
 
SDLC
SDLCSDLC
SDLC
 
Role of Testing
Role of Testing Role of Testing
Role of Testing
 
Building a software testing environment
Building a software testing environmentBuilding a software testing environment
Building a software testing environment
 

Recently uploaded

React Server Component in Next.js by Hanief Utama
React Server Component in Next.js by Hanief UtamaReact Server Component in Next.js by Hanief Utama
React Server Component in Next.js by Hanief UtamaHanief Utama
 
Building Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Building Real-Time Data Pipelines: Stream & Batch Processing workshop SlideBuilding Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Building Real-Time Data Pipelines: Stream & Batch Processing workshop SlideChristina Lin
 
What is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need ItWhat is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need ItWave PLM
 
Buds n Tech IT Solutions: Top-Notch Web Services in Noida
Buds n Tech IT Solutions: Top-Notch Web Services in NoidaBuds n Tech IT Solutions: Top-Notch Web Services in Noida
Buds n Tech IT Solutions: Top-Notch Web Services in Noidabntitsolutionsrishis
 
What are the key points to focus on before starting to learn ETL Development....
What are the key points to focus on before starting to learn ETL Development....What are the key points to focus on before starting to learn ETL Development....
What are the key points to focus on before starting to learn ETL Development....kzayra69
 
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...soniya singh
 
Cloud Management Software Platforms: OpenStack
Cloud Management Software Platforms: OpenStackCloud Management Software Platforms: OpenStack
Cloud Management Software Platforms: OpenStackVICTOR MAESTRE RAMIREZ
 
Introduction Computer Science - Software Design.pdf
Introduction Computer Science - Software Design.pdfIntroduction Computer Science - Software Design.pdf
Introduction Computer Science - Software Design.pdfFerryKemperman
 
CRM Contender Series: HubSpot vs. Salesforce
CRM Contender Series: HubSpot vs. SalesforceCRM Contender Series: HubSpot vs. Salesforce
CRM Contender Series: HubSpot vs. SalesforceBrainSell Technologies
 
What is Advanced Excel and what are some best practices for designing and cre...
What is Advanced Excel and what are some best practices for designing and cre...What is Advanced Excel and what are some best practices for designing and cre...
What is Advanced Excel and what are some best practices for designing and cre...Technogeeks
 
SpotFlow: Tracking Method Calls and States at Runtime
SpotFlow: Tracking Method Calls and States at RuntimeSpotFlow: Tracking Method Calls and States at Runtime
SpotFlow: Tracking Method Calls and States at Runtimeandrehoraa
 
Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024
Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024
Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024StefanoLambiase
 
Recruitment Management Software Benefits (Infographic)
Recruitment Management Software Benefits (Infographic)Recruitment Management Software Benefits (Infographic)
Recruitment Management Software Benefits (Infographic)Hr365.us smith
 
Xen Safety Embedded OSS Summit April 2024 v4.pdf
Xen Safety Embedded OSS Summit April 2024 v4.pdfXen Safety Embedded OSS Summit April 2024 v4.pdf
Xen Safety Embedded OSS Summit April 2024 v4.pdfStefano Stabellini
 
Cloud Data Center Network Construction - IEEE
Cloud Data Center Network Construction - IEEECloud Data Center Network Construction - IEEE
Cloud Data Center Network Construction - IEEEVICTOR MAESTRE RAMIREZ
 
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样umasea
 
Call Us🔝>༒+91-9711147426⇛Call In girls karol bagh (Delhi)
Call Us🔝>༒+91-9711147426⇛Call In girls karol bagh (Delhi)Call Us🔝>༒+91-9711147426⇛Call In girls karol bagh (Delhi)
Call Us🔝>༒+91-9711147426⇛Call In girls karol bagh (Delhi)jennyeacort
 
英国UN学位证,北安普顿大学毕业证书1:1制作
英国UN学位证,北安普顿大学毕业证书1:1制作英国UN学位证,北安普顿大学毕业证书1:1制作
英国UN学位证,北安普顿大学毕业证书1:1制作qr0udbr0
 
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASEBATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASEOrtus Solutions, Corp
 

Recently uploaded (20)

React Server Component in Next.js by Hanief Utama
React Server Component in Next.js by Hanief UtamaReact Server Component in Next.js by Hanief Utama
React Server Component in Next.js by Hanief Utama
 
Building Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Building Real-Time Data Pipelines: Stream & Batch Processing workshop SlideBuilding Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Building Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
 
What is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need ItWhat is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need It
 
Buds n Tech IT Solutions: Top-Notch Web Services in Noida
Buds n Tech IT Solutions: Top-Notch Web Services in NoidaBuds n Tech IT Solutions: Top-Notch Web Services in Noida
Buds n Tech IT Solutions: Top-Notch Web Services in Noida
 
What are the key points to focus on before starting to learn ETL Development....
What are the key points to focus on before starting to learn ETL Development....What are the key points to focus on before starting to learn ETL Development....
What are the key points to focus on before starting to learn ETL Development....
 
2.pdf Ejercicios de programación competitiva
2.pdf Ejercicios de programación competitiva2.pdf Ejercicios de programación competitiva
2.pdf Ejercicios de programación competitiva
 
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
 
Cloud Management Software Platforms: OpenStack
Cloud Management Software Platforms: OpenStackCloud Management Software Platforms: OpenStack
Cloud Management Software Platforms: OpenStack
 
Introduction Computer Science - Software Design.pdf
Introduction Computer Science - Software Design.pdfIntroduction Computer Science - Software Design.pdf
Introduction Computer Science - Software Design.pdf
 
CRM Contender Series: HubSpot vs. Salesforce
CRM Contender Series: HubSpot vs. SalesforceCRM Contender Series: HubSpot vs. Salesforce
CRM Contender Series: HubSpot vs. Salesforce
 
What is Advanced Excel and what are some best practices for designing and cre...
What is Advanced Excel and what are some best practices for designing and cre...What is Advanced Excel and what are some best practices for designing and cre...
What is Advanced Excel and what are some best practices for designing and cre...
 
SpotFlow: Tracking Method Calls and States at Runtime
SpotFlow: Tracking Method Calls and States at RuntimeSpotFlow: Tracking Method Calls and States at Runtime
SpotFlow: Tracking Method Calls and States at Runtime
 
Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024
Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024
Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024
 
Recruitment Management Software Benefits (Infographic)
Recruitment Management Software Benefits (Infographic)Recruitment Management Software Benefits (Infographic)
Recruitment Management Software Benefits (Infographic)
 
Xen Safety Embedded OSS Summit April 2024 v4.pdf
Xen Safety Embedded OSS Summit April 2024 v4.pdfXen Safety Embedded OSS Summit April 2024 v4.pdf
Xen Safety Embedded OSS Summit April 2024 v4.pdf
 
Cloud Data Center Network Construction - IEEE
Cloud Data Center Network Construction - IEEECloud Data Center Network Construction - IEEE
Cloud Data Center Network Construction - IEEE
 
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样
 
Call Us🔝>༒+91-9711147426⇛Call In girls karol bagh (Delhi)
Call Us🔝>༒+91-9711147426⇛Call In girls karol bagh (Delhi)Call Us🔝>༒+91-9711147426⇛Call In girls karol bagh (Delhi)
Call Us🔝>༒+91-9711147426⇛Call In girls karol bagh (Delhi)
 
英国UN学位证,北安普顿大学毕业证书1:1制作
英国UN学位证,北安普顿大学毕业证书1:1制作英国UN学位证,北安普顿大学毕业证书1:1制作
英国UN学位证,北安普顿大学毕业证书1:1制作
 
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASEBATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
 

unit-2_20-july-2018 (1).pptx

  • 1. • Fundamentals of Software Testing, • Testing during development life cycle, • Requirement Traceability matrix, essentials, Work bench • Important Features of Testing Process, • Misconceptions, • Principles and salient and policy of Software testing, Test Strategy, • Test Planning • Testing Process and number of defects found, • Test team efficiency, • Mutation testing, • challenges, • Contd… Unit 2:-Test Planning and Management 1
  • 2. • test team approach, • Process problem faced, Cost aspect, • establishing testing policy, methods, structured approach, • categories of defect, Defect/ error/ mistake in software, • Developing Test Strategy and Plan, • Testing process, • Attitude towards testing, approaches, challenges, • Raising management awareness for testing, • skills required by tester. Unit 2:-Test Planning and Management 2
  • 3. Software Testing Definition • Testing •It is the process of exercising or evaluating a system or system component by manual or automated means to verify that it satisfies specified requirements – [IEEE 83a] • Process • Sequence of steps performed for a given purpose [IEEE] • Software Process • A set of activities, methods, practices and transformations that people use to develop and maintain software and associated products [SEI-CMM]
  • 4. Review-Software Testing 1. It is impossible to test a program completely. 2. Software testing is a risk-based exercise. 3. Testing cannot show the absence of bugs. 4. The more bugs you find, the more bugs there are. 5. Not all bugs found will be fixed. 6. It is difficult to say when a bug is indeed a bug. 7. Specifications are never final. 8. Software testers are not the most popular members of a project. 9. Software testing is a disciplined and technical profession.
  • 6. Unit Testing • It is a level of the software testing process where individual units/components of a software/system are tested • The purpose is to validate that each unit of the software performs as designed • It is a method by which individual units of source code are tested to determine if they are fit for use
  • 7. Unit Testing • Benefits :- • 1. Early detection of software defects • 2. Provides scope for change or update • 3.Simplifies integration testing • 4.Proper documentation can maintain • 5. Contributes in good design of overall software
  • 8. Integration and System Testing • Testing the interaction between the modules and interaction with other systems externally is called integration testing • Integration testing starts when two of the product components are available and ends when all component interfaces have been tested • Integration testing is both a type of testing and a phase of testing • The testing conducted on the complete integrated products and solutions to evaluate system compliance with specified requirements on functional and nonfunctional aspects is called system testing • It is the first level of software testing where the application is tested as a whole
  • 9. Acceptance Testing • Acceptance testing is done by the customer or by the representative of the customer to check whether the product is ready for use in the real- life environment • Following test cases can be included for acceptance testing • End-to-end functionality verification • Domain tests • User scenario tests • Basic sanity tests • New functionality • A few non-functional tests • Tests pertaining to legal obligations and service level agreements • Acceptance test data
  • 10. Requirement Traceability matrix • RTM captures all requirements proposed by the client or development team and their traceability in a single document delivered at the conclusion of the life-cycle. • In other words, it is a document that maps and traces user requirement with test cases • The requirements traceability matrix is usually developed in concurrence with the initial list of requirements (either the user requirement or functional requirement specification)
  • 11.
  • 12. RTM Essentials • It ensure requirement traceability and generate the actual requirement traceability document. • organizations might use Excel spreadsheets to keep a table of requirements, despite this being extremely difficult to maintain manually. • In more complicated systems, the traceability matrix may include references to additional documentation, including user requirements, risk assessments, etc.
  • 13. Workbench of Testing • A Workbench is a method of documenting how a particular activity must be fulfilled. • A workbench is referred to a stages, steps, and assignments while performing certain activities in testing. • A workbench gives you an opportunity to execute any one task with appropriate software testing.
  • 14. Workbench Phases 1. Requirement phase:- The input data – the requirements of clients; we perform a task – writing a document with the customer’s requirements, we check the suitability of a document to all needs of client, and receive the output – requirement document. 2. Design phase:- The input data – the requirement document, we execute the preparing a technical document; review/test is performed to see if the design document is technically right and transfers all the requirements in the requirement document, and receive a technical document. 3. Execution phase:- It is the actual performance of the project. The input data – the technical document; the performance is nothing but realization/ coding according to the technical document, and the output data – the source code.
  • 15. Workbench Phases 1. Testing phase workbench It is the stage of software testing. The input data – the source code which is required testing; the realization – implementation of the test case and the output – the results of software testing. 2. Distribution phase There are two inputs for this step – the source code which requires of customers and the source code with the results of testing. The output of this project is the product which is ready for use. 3. Maintenance phase The input – the results of distribution, execution – execution of the last customer requests, the running regression software testing after every changed customer request, and the output is a new release.
  • 16. Important Features of Testing Process 1. Testing is destructive process, But its constructive destruction 2. Testing needs positive approach with consideration that there is defect 3. If test dose not detect defect present in system, then its unsuccessful test 4. Root cause analysis and corrective/preventive actions must be mentioned. 5. Performing regression testing when defect are resolved by development team 6. Proper test helps to improve over all product.
  • 17. Misconceptions about Testing and Defects • Testers can test the quality of product at end of development process. • Defect found in testing are blamed on developers . • Defect found by customers are blamed on testers. • Complete testing is done • Zero defect software (product) creation. • Tester can find all defects in limited period • Testing is manual process, Automation involve optionally • Testing process is simple than development step. • Testing required less efforts • Quality assurance is secondary based on brand value.
  • 18. Generalized Principles of Software testing, 1. Programmers/ team must avoid testing their own works products 2. Thoroughly inspect results of each test case has to found to identify weaker area in software 3. Defects indicates process failure 4. Initiate actions for correction, corrective action & preventive action.
  • 19. Salient features of good Software testing 1. Capture user requirements 2. Capturing user needs 3. Design objective must define properly 4. User interface simple and easy to understand 5. Internal Structure complex but simple to understand 6. Execution of code reduce risk of failure
  • 20. Test Policies • Test policies are generally defined by senior management try to cover all aspects of testing. • It decides framework of testing towards customer satisfaction. • Testing will performed against TQM principles to find and fulfill customer centric approach
  • 21. Test Strategy or Approach • Globally, there is unique test policy decided by management but it can varies as per customer, Deadline, Product, Project etc. • Definition of coverage is defined for testing (Functional, requirements and features for different products, Customer and project) • Level of testing must monitored and maintained (unit to acceptance testing) • How much testing manually and when to automate has been planned and executed. • Number of developer and testers are assigned in proportion.
  • 22. Test Planning • Test planning is first activity of test team • Test plan are defined throughout SDLC • Test plan must be realistic and talk about limitations and constraints in system 1. Plan testing efforts adequately with assumption that defects are exists in software 2. Successful tester founds defect in systems not appreciates developer 3. Testing dose not completed at end of development cycle, (plan for maintenance) 4. Verification(do-right thing) and validation(right- thing do) must done at each phase of testing.
  • 23. Testing Process and number of defects found in testing • In real time, As we find more defects, there is probability of finding some more defects. Governed by teams defect finding ability. • Figure :- defect trend • As tester assures one defect may leads multiple defects and count of defect will increasing
  • 25. Test team efficiency • It’s a defect finding rate of particular test team • More the efficient team, Less the defects found in system by customer, As these are resolved by developer in iteration of product/service. • Every test manager must aware of test team efficiency which should tends towards 100% • Ex. 90% means, 500 defects are reported by team still there exists 50 more defects possible, 95% still 25 more. 100 no more defects(practically not achievable). • Efficiency can calculate using old success rates.
  • 26. Mutation testing • This testing use to check capability of test program and test cases to find defects • This also known as test case efficiency. • If original program is changed(due to any reason) and some defects are added in system called mutant of original program and process termed as mutation.
  • 27. Challenges in testing 1. Challenges associated with developer team, Customer needs, Management perspective 2. Requirements are not clear, complete, consistent, measurable and testable 3. Requirements are wrongly documented & inspected by business & system analyst 4. Code logic may difficult to capture 5. Error handling may be difficult to capture
  • 28. Test team & approaches • Type of organization & Type of product developed to be tested define test team. • There may or may not be separate testing team for each product to be developed. 1. Developer become testers –Small size team 2. Independent testing team- Assigns test manager 3. Domain experts doing software testing –System and acceptance testing 4. Test team reporting development manager-Most common test team approach
  • 29. Process problem faced in Testing • Defects are introduce in software due to incorrect processes, The basic constituents (part) of processes are :- 1. People :- user-specifying requirements, Business analyst-document requirements, Test manager define test plan, tester define test case etc. 2. Material:- Requirement docs, development standards, guidelines must provide properly 3. Machines :-Simulators, real time objects defined 4. Methods:- Test planning, defining, test data may not proper. 5. Economics of testing:-Customer dissatisfaction inversely proportional to testing efforts
  • 30. Cost aspect in Testing • Cost of quality includes cost of appraisal, prevention and failure cost of product/service • Testing is costly to organization, so it try to keep as minimum as possible • As per economics of testing cost has to manage • Cost include :-Capture requirements, Conduct analysis, ask queries, Design test cases high and low level, write code, automation test tool, create final product and maintain.
  • 31. Structured approach for testing • Establish testing policies • Use standard methods • Four types of wastes are involved in structured approch • Waste in wrong development • Waste in testing to detect defects • Wastage as wrong specification
  • 32. Sample Test case , , methods,, categories of defect, Defect/ error/ mistake in software, Developing Test Strategy and Plan, Testing process, Attitude towards testing, approaches, challenges, Raising management awareness for testing, skills required by tester.