SlideShare a Scribd company logo
1 of 42
© Copyright 2006 FPT Software 1© FPT SOFTWARE – TRAINING MATERIAL – Internal use 04e-BM/NS/HDCV/FSOFT v2/2
Software TestingSoftware Testing
Basic ConceptsBasic Concepts
Instructor: Dang Tu LinhInstructor: Dang Tu Linh
© Copyright 2006 FPT Software 2© FPT SOFTWARE – TRAINING MATERIAL – Internal use 04e-BM/NS/HDCV/FSOFT v2/2
AgendaAgenda
 Duration: 1.5 Hours
 Purpose: Understand basic Test concepts
 Audience: All Members
 Content:
1. Introduction
2. Defect concepts
3. Test process
4. Test plan & test design
5. Testing strategy
© Copyright 2006 FPT Software 3© FPT SOFTWARE – TRAINING MATERIAL – Internal use 04e-BM/NS/HDCV/FSOFT v2/2
IntroductionIntroduction
Objectives:
To arrive at a common understanding of the scope of testing activity
To familiarize the audience with the terminology used in the testing work
Understand the required test skills of developers
© Copyright 2006 FPT Software 4© FPT SOFTWARE – TRAINING MATERIAL – Internal use 04e-BM/NS/HDCV/FSOFT v2/2
Typical Project Blues…Typical Project Blues…
© Copyright 2006 FPT Software 5© FPT SOFTWARE – TRAINING MATERIAL – Internal use 04e-BM/NS/HDCV/FSOFT v2/2
Testing definitionTesting definition
Testing 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)
© Copyright 2006 FPT Software 6© FPT SOFTWARE – TRAINING MATERIAL – Internal use 04e-BM/NS/HDCV/FSOFT v2/2
Testing ObjectivesTesting Objectives
Primary: Execute a program with the intent of finding errors to
 Determine whether system meets specifications
 Determine whether system meets user’s needs
Secondary
 Continuously improve the testing process
© Copyright 2006 FPT Software 7© FPT SOFTWARE – TRAINING MATERIAL – Internal use 04e-BM/NS/HDCV/FSOFT v2/2
MisunderstandingsMisunderstandings
about testingabout testing
Testing is debugging
Testing is not the job of a programmer
If programmers were more careful testing would be
unnecessary
Testing never ends
Testing activities start only after the coding is complete
Testing is not a creative task
© Copyright 2006 FPT Software 8© FPT SOFTWARE – TRAINING MATERIAL – Internal use 04e-BM/NS/HDCV/FSOFT v2/2
Theory & RealityTheory & Reality
Theory
 Need sufficient time
 Baselined & freezed requirements
 Automation testing
 Have trained testers: test process, business flow,…
Reality
 Time Pressures to keep delivery date
 Continuously updated requirements
 Don’t know when to stop: Update & update Requirement
continuously (CRs)  Tester updates TC and re-tests
 Manual testing
 Lack of dedicated software test environment: share, steal
 Inexperienced testers without appropriate training
© Copyright 2006 FPT Software 9© FPT SOFTWARE – TRAINING MATERIAL – Internal use 04e-BM/NS/HDCV/FSOFT v2/2
Defect conceptsDefect concepts
Objectives:
Understand the definition of defect
 Understand the cost of a bug to software development
 Understand the common types of defects and their
perceived severity
What is defect?What is defect?
A defect is any error found by testing and reviewing
activities (All errors found by internal reviewer, external
reviewer and customer).
© Copyright 2006 FPT Software 10© FPT SOFTWARE – TRAINING MATERIAL – Internal use 04e-BM/NS/HDCV/FSOFT v2/2
Where defects come from?Where defects come from?
Products
 SRS, DD, Source code, Test cases, etc.
Quality Control
 Review, Test, Audit, Inspection
Processes
 Requirements, Design, Coding, Test, etc.
Other sources:
 Change requests, misunderstanding, carelessness, planning,
etc.
© Copyright 2006 FPT Software 11© FPT SOFTWARE – TRAINING MATERIAL – Internal use 04e-BM/NS/HDCV/FSOFT v2/2
Cost of defectsCost of defects
© Copyright 2006 FPT Software 12© FPT SOFTWARE – TRAINING MATERIAL – Internal use 04e-BM/NS/HDCV/FSOFT v2/2
Defect still exists in the product, change status to ERROR
FSoft Defect lifecycleFSoft Defect lifecycle
Defect classification:
 Open defects
 Closed defects
 Leakage
Log defects Analyze defects Fix defects Re-test
Step 1 Step 2 Step 3 Step 4
What: To log defect into DMS with
clear information: project, module,
stage, QC activity, severity, type,
due date, tester, created date ...
Who: Tester
Defect’s status: ERROR
What: -To analyze the causes of the defect, find-
out solution and assign to person who is
responsible for correcting it.
- To accept the defect if it’s acceptable (by
concession of authority or customer).
Who: Project Leader
Defect’s status: ASSIGNED / ACCEPTED
What: To correct the defect and
perform unit testing to make sure
the defect has been removed.
Who: Developer
Defect’s status:
CORRECTED
What: To retest the function(s)
containing the defect and make sure
that the defect has been corrected
completely
Who: Tester
Defect’s status: CLOSED
© Copyright 2006 FPT Software 13© FPT SOFTWARE – TRAINING MATERIAL – Internal use 04e-BM/NS/HDCV/FSOFT v2/2
Defect status:
• Error
• Assigned
• Corrected
• Cancelled
• Accepted: by PM/PTL/Customer
• Closed: by tester/PM/PTL
Leakage Defects:
• Acceptance test
• After Release test
• After Release review
Fsoft Defect classificationFsoft Defect classification
© Copyright 2006 FPT Software 14© FPT SOFTWARE – TRAINING MATERIAL – Internal use 04e-BM/NS/HDCV/FSOFT v2/2
Fsoft Defect classificationFsoft Defect classification
Defect type
• Functionality
o Requirement misunderstanding
o Feature missing
o Coding logic
o Business logic
• User Interface
• Performance
• Design issue
• Coding standard
Severity: How bad the problem is
(some time disagreement btw. Dev & Tester)
 Fatal: the system is broken
 Serious: can not work around
 Medium: impact the function
 Cosmetic: not impact the function
© Copyright 2006 FPT Software 15© FPT SOFTWARE – TRAINING MATERIAL – Internal use 04e-BM/NS/HDCV/FSOFT v2/2
Fsoft Defect classificationFsoft Defect classification
Defect origin
 Requirement
 Design
 Coding
 Test
 CM
 Document control
Priority
 Immediately
 High priority
 Normal priority
 Low priority
Work product
 Software module
 Software Package
 ADD
 DDD
 Test Cases (UT/IT/ST)
Quality control activity
 Code review
 Unit test
 Integration test
 System test
 Document review
 Inspection
 Audit
© Copyright 2006 FPT Software 16© FPT SOFTWARE – TRAINING MATERIAL – Internal use 04e-BM/NS/HDCV/FSOFT v2/2
Test ProcessTest Process
Objectives:
 Understand the steps followed for a test process
 Understand test planning process
 FSoft Test Process
© Copyright 2006 FPT Software 17© FPT SOFTWARE – TRAINING MATERIAL – Internal use 04e-BM/NS/HDCV/FSOFT v2/2
Tester CompetencyTester Competency
Soft skills (non-technical attributes)
 Discipline and Perseverance
• Testing is repetitive and requests a lot of manual effort
• Have the ability to withstand pressures and workload
• Say ‘no’ to managers when quality is insufficient
 Reading skills: study many docs of specs, design
 Communication & Interpreter skills
• Both Verbal and Written communication
• Diplomatic skill
• Be able to communicate with technical and non-technical
people, engineers, managers, customers
 Negative thinking: foresee things that can go wrong, evaluate risks
 Attitude: ‘test to break’ attitude
 Time management and Effort prioritization
© Copyright 2006 FPT Software 18© FPT SOFTWARE – TRAINING MATERIAL – Internal use 04e-BM/NS/HDCV/FSOFT v2/2
Tester CompetencyTester Competency
Technical skills
 Familiarity with software development architectures,
processes
 Familiarity with testing methodologies
 Very clearly articulate specs, designs, business rules,
inspection reports, configurations, code changes, TP,
TC, bug reports, user manuals,…
 Know how and where to look for bugs
 Know how to report the defects effectively for quickly
reproduce
© Copyright 2006 FPT Software 19© FPT SOFTWARE – TRAINING MATERIAL – Internal use 04e-BM/NS/HDCV/FSOFT v2/2
The Test ProcessThe Test Process
Data Analysis
- Analyze
root
Causes of
defects
- Identify
actions
Test Execution
Perform
testing
Bug
Reporting
- Bug Fixing
- TC Updating
Bug Tracking
(Re-test)
Test
Report
Test Preparation
SRS study
Create
Test
Design
Review
&
Approval
- Develop test
cases, test
scripts
- Prepare test
data
Test
Planning
Create
Test Plan
(by
Test leader)
Definition Solution Construction Transition Termination
Initiation Project life cycle
Test process
© Copyright 2006 FPT Software 20© FPT SOFTWARE – TRAINING MATERIAL – Internal use 04e-BM/NS/HDCV/FSOFT v2/2
Input/Output for testingInput/Output for testing
Input:
• Customer requirements and Acceptance criteria
• Change requests
• Software Requirement Specification (SRS)
• Design documents (ADD, DDD)
• Programs (Modules)
Output:
• Test documents: Test plan, Test cases and procedures,
Test script, Test data
• Defect list
• Test report (Pass/Fail of each TC, Summary report)
© Copyright 2006 FPT Software 21© FPT SOFTWARE – TRAINING MATERIAL – Internal use 04e-BM/NS/HDCV/FSOFT v2/2
FSoft Test resourcesFSoft Test resources
Guideline: Test process & Test guideline
Templates for test documents
 Test Plan
 Test case specification
 Test report
 Defect analysis report
FSOFT tools
 Defect tracking tool: DMS
 Test Effort tracking tool: Timesheet
 Test schedule: FSoft Insight
 Test automation tools
– Rational Robot (Functional & Performance test)
– OpenSTA (Open source)
– Witir (Open source)
FATA: Test Council
© Copyright 2006 FPT Software 22© FPT SOFTWARE – TRAINING MATERIAL – Internal use 04e-BM/NS/HDCV/FSOFT v2/2
Test strategyTest strategy
Objectives
 Understand Unit Testing concept
 Understand Integration Testing concept
 Understand System Testing concept
 Understand Acceptance Testing concept
 Overview of Test types
© Copyright 2006 FPT Software 23© FPT SOFTWARE – TRAINING MATERIAL – Internal use 04e-BM/NS/HDCV/FSOFT v2/2
V-ModelV-Model
© Copyright 2006 FPT Software 24© FPT SOFTWARE – TRAINING MATERIAL – Internal use 04e-BM/NS/HDCV/FSOFT v2/2
Testing stagesTesting stages
There are 4 stages of Testing:
 Unit Test
 Integration Test
 System Test
 Acceptance Test
© Copyright 2006 FPT Software 25© FPT SOFTWARE – TRAINING MATERIAL – Internal use 04e-BM/NS/HDCV/FSOFT v2/2
Unit TestUnit Test
 Purpose: to verify that the component/module
functions properly
 Check:
– internal data structures
– Logic
– boundary conditions for input/output data
 Normally: White box oriented
 Doer: Development team
 Metrics: Test coverage:
– Statement
– Branch
– Path
– Condition
© Copyright 2006 FPT Software 26© FPT SOFTWARE – TRAINING MATERIAL – Internal use 04e-BM/NS/HDCV/FSOFT v2/2
Integration TestIntegration Test
 Purpose:
• To ensure that code is implemented and designed
properly
• to take unit tested modules and build a program
structure that has been dictated by design
 IT only after UT
 Combining the individual components to uncover
errors associated with interfacing
 Normally: Black box oriented
 Doer: independent Test team
© Copyright 2006 FPT Software 27© FPT SOFTWARE – TRAINING MATERIAL – Internal use 04e-BM/NS/HDCV/FSOFT v2/2
System TestSystem Test
 Purpose: To ensure that the system does what the
requirement specifies
 Types
– Function Testing
– Performance Testing
– Installation Testing
 Normally: Black box oriented
 Doer: independent Test team
© Copyright 2006 FPT Software 28© FPT SOFTWARE – TRAINING MATERIAL – Internal use 04e-BM/NS/HDCV/FSOFT v2/2
Acceptance TestAcceptance Test
 Customer’s way to verify that what was wanted is
what is built
 Uncovers more than requirements discrepancies
 Allows the customers to determine what they really
want, whether specified in the document or not.
 New problems may arise
 Customers may decide that the problem as changed
and a different solution is needed
 Normally: Black box oriented
 Doer: Customer/independent Test team
© Copyright 2006 FPT Software 29© FPT SOFTWARE – TRAINING MATERIAL – Internal use 04e-BM/NS/HDCV/FSOFT v2/2
Testing typesTesting types
Functional test
 Function testing
 User Interface testing
 Data and database integrity testing
 Business cycle testing
User Interface: Layout
Performance test
 Performance profiling
 Load testing
 Stress testing
 Volume testing
Access control & Security test
Regression test
© Copyright 2006 FPT Software 30© FPT SOFTWARE – TRAINING MATERIAL – Internal use 04e-BM/NS/HDCV/FSOFT v2/2
Test techniques/methodsTest techniques/methods
White Box Testing
 It guarantees that all independent paths within a module
have been exercised at least once
 Exercise all logical decisions on their true an false sides
 Execute all loops their boundaries and within their
operational bounds
 Exercise internal data structures to assure their validity
Black Box Testing
 Focuses on functional requirement of the software
 Derive sets of input conditions that will fully exercise all
functional requirements for a program
 Not an alternative to white box
© Copyright 2006 FPT Software 31© FPT SOFTWARE – TRAINING MATERIAL – Internal use 04e-BM/NS/HDCV/FSOFT v2/2
Test Plan, Test DesignTest Plan, Test Design
& Test Cases& Test Cases
Objectives
 Understand the principles of test plan & test design
 Understand the concepts for test case design
 Understand the structure of test cases
© Copyright 2006 FPT Software 32© FPT SOFTWARE – TRAINING MATERIAL – Internal use 04e-BM/NS/HDCV/FSOFT v2/2
Test Planning: ObjectivesTest Planning: Objectives
Test planning is to:
 Define Test strategy:
– What to test: list of requirements to test
– How to test (Test techniques)
– Test types
– Test tool, ….
 Define the responsibilities
 Decide test metrics & manage through metrics
 “When to Stop Testing?”
– Not good Unit Test
– Low quality of code,…
– Meet requested Test coverage
– All Test cases are tested and passed
© Copyright 2006 FPT Software 33© FPT SOFTWARE – TRAINING MATERIAL – Internal use 04e-BM/NS/HDCV/FSOFT v2/2
Test PlanTest Plan
 What to do
 Who does it: Test team, Development team
 How to do it: Techniques
 When to do it
© Copyright 2006 FPT Software 34© FPT SOFTWARE – TRAINING MATERIAL – Internal use 04e-BM/NS/HDCV/FSOFT v2/2
Test PlanTest Plan
Test Plan to define:
 Scope of test: stages and types of test
 Risks may affect testing: quantify the loss of the risk
 Training needs for testers
 Requirements to test: what will be tested
 Testing strategy: how will the test be performed
 Completion criteria (Pass/Fail)
 Criteria to stop testing
 Tools to be used for testing
 Testing resource and environment (Responsibilities of testers)
 Test Milestone: schedule of testing activities
 Test deliverables: outputs of testing
© Copyright 2006 FPT Software 35© FPT SOFTWARE – TRAINING MATERIAL – Internal use 04e-BM/NS/HDCV/FSOFT v2/2
When to Stop Testing?When to Stop Testing?
Not good UT: Defects of UT do not meet Defect plan
Low quality of code: too many defects (over the number
identified in planning phase/kick-off meeting)
Does not meet requested Test coverage (by
customer/PM).
It must be identified at planning phase.
© Copyright 2006 FPT Software 36© FPT SOFTWARE – TRAINING MATERIAL – Internal use 04e-BM/NS/HDCV/FSOFT v2/2
Test design structureTest design structure
Specifications
 Basic flow
 Alternative flow
Test Design
 All test cases should be traceable to requirements
 Design framework and rules for test cases (large/average
items)
 Plan number of test cases for normal, abnormal & boundary
data
 Assign testers for module/function/large items
© Copyright 2006 FPT Software 37© FPT SOFTWARE – TRAINING MATERIAL – Internal use 04e-BM/NS/HDCV/FSOFT v2/2
Test DesignTest Design
Structure/Framework for Test cases (TC):
• Modules or functions
• Large items
• GUI
• Functions
• Performance
Number of TC:
 Total
 For each module
 For each type: GUI/Function
 For normal/abnormal/boundary cases
© Copyright 2006 FPT Software 38© FPT SOFTWARE – TRAINING MATERIAL – Internal use 04e-BM/NS/HDCV/FSOFT v2/2
Test CaseTest Case
Test environment
Test condition
A test case includes:
• Action (sample: click on Add button, on a link, input birth
day…)
• Input data (valid/invalid/boundary data)
• Expected result (message, …)
 Good test case:
 Structure of TC is clear and reasonable.
 Follow requirement closely.
 Cover all of cases that can occur.
 Description and test conditions is brief and easy to
understand
 Procedure and expected result is a step by step process
© Copyright 2006 FPT Software 39© FPT SOFTWARE – TRAINING MATERIAL – Internal use 04e-BM/NS/HDCV/FSOFT v2/2
Testing MeasurementTesting Measurement
Objectives
 Understand the need for metrics and measurement in
Testing
 Understand the minimal metrics required for the
measurement of the testing activity
© Copyright 2006 FPT Software 40© FPT SOFTWARE – TRAINING MATERIAL – Internal use 04e-BM/NS/HDCV/FSOFT v2/2
Examples of testing measurement?Examples of testing measurement?
 Product: We’ve tested 80% of the lines of code
 Plan: We’ve run 80% of the test cases
 Results: We’ve discovered 593 defects
 Effort: We’ve worked 80 hours a week on this for 4 months.
We’ve run 7,243 tests
 Quality of Testing: Beta testers have found 30 defects that we
missed. Our regression tests seems ineffective
 History across projects: At this milestone on previous projects,
we had fewer than 12% of the defects found still open. We
should be at that percentage on this product too
© Copyright 2006 FPT Software 41© FPT SOFTWARE – TRAINING MATERIAL – Internal use 04e-BM/NS/HDCV/FSOFT v2/2
How do we measure Testing inHow do we measure Testing in FSOFTFSOFT??
Measurements:
 Defects in DMS
 Test effort in Timesheet
 Defect rate in Fsoft Insight: Weighted defects/ project size (in UCP)
 Test coverage: number of executed test cases/ Total number of test
cases
 Test successful coverage: number of test cases executed
successfully/total number of test cases
 Defect removal efficiency
Metrics to assess tester performance:
 Test effectiveness
• Weighted defects/ Test execution effort
 Leakage
• Weighted defects found after release/ project size
© Copyright 2006 FPT Software 42© FPT SOFTWARE – TRAINING MATERIAL – Internal use 04e-BM/NS/HDCV/FSOFT v2/2
Q & AQ & A

More Related Content

What's hot

Manual testing concepts course 1
Manual testing concepts course 1Manual testing concepts course 1
Manual testing concepts course 1Raghu Kiran
 
SOFTWARE TESTING UNIT-4
SOFTWARE TESTING UNIT-4  SOFTWARE TESTING UNIT-4
SOFTWARE TESTING UNIT-4 Mohammad Faizan
 
Software Testing Tutorial For Beginners | Manual & Automation Testing | Selen...
Software Testing Tutorial For Beginners | Manual & Automation Testing | Selen...Software Testing Tutorial For Beginners | Manual & Automation Testing | Selen...
Software Testing Tutorial For Beginners | Manual & Automation Testing | Selen...Edureka!
 
Basic software-testing-concepts
Basic software-testing-conceptsBasic software-testing-concepts
Basic software-testing-conceptsmedsherb
 
Software Testing - Defect/Bug Life Cycle - Complete Flow Chart of Defect States
Software Testing - Defect/Bug Life Cycle - Complete Flow Chart of Defect StatesSoftware Testing - Defect/Bug Life Cycle - Complete Flow Chart of Defect States
Software Testing - Defect/Bug Life Cycle - Complete Flow Chart of Defect StateseVideoTuition
 
Software Testing Process
Software Testing ProcessSoftware Testing Process
Software Testing Processguest1f2740
 
Software Testing Fundamentals
Software Testing FundamentalsSoftware Testing Fundamentals
Software Testing FundamentalsChankey Pathak
 
Importance of a Test Management Tool for Your Project
Importance of a Test Management Tool for Your ProjectImportance of a Test Management Tool for Your Project
Importance of a Test Management Tool for Your ProjectSarah Elson
 
Intro to Manual Testing
Intro to Manual TestingIntro to Manual Testing
Intro to Manual TestingAyah Soufan
 
Manual Testing Material by Durgasoft
Manual Testing Material by DurgasoftManual Testing Material by Durgasoft
Manual Testing Material by DurgasoftDurga Prasad
 

What's hot (20)

SOFTWARE TESTING
SOFTWARE TESTINGSOFTWARE TESTING
SOFTWARE TESTING
 
Manual testing ppt
Manual testing pptManual testing ppt
Manual testing ppt
 
Manual testing concepts course 1
Manual testing concepts course 1Manual testing concepts course 1
Manual testing concepts course 1
 
Introduction & Manual Testing
Introduction & Manual TestingIntroduction & Manual Testing
Introduction & Manual Testing
 
SOFTWARE TESTING UNIT-4
SOFTWARE TESTING UNIT-4  SOFTWARE TESTING UNIT-4
SOFTWARE TESTING UNIT-4
 
Software Testing Tutorial For Beginners | Manual & Automation Testing | Selen...
Software Testing Tutorial For Beginners | Manual & Automation Testing | Selen...Software Testing Tutorial For Beginners | Manual & Automation Testing | Selen...
Software Testing Tutorial For Beginners | Manual & Automation Testing | Selen...
 
Basic software-testing-concepts
Basic software-testing-conceptsBasic software-testing-concepts
Basic software-testing-concepts
 
Software Testing - Defect/Bug Life Cycle - Complete Flow Chart of Defect States
Software Testing - Defect/Bug Life Cycle - Complete Flow Chart of Defect StatesSoftware Testing - Defect/Bug Life Cycle - Complete Flow Chart of Defect States
Software Testing - Defect/Bug Life Cycle - Complete Flow Chart of Defect States
 
Software Testing Process
Software Testing ProcessSoftware Testing Process
Software Testing Process
 
Software testing
Software testing   Software testing
Software testing
 
Software Testing Fundamentals
Software Testing FundamentalsSoftware Testing Fundamentals
Software Testing Fundamentals
 
Testing & Quality Assurance
Testing & Quality AssuranceTesting & Quality Assurance
Testing & Quality Assurance
 
Software Testing or Quality Assurance
Software Testing or Quality AssuranceSoftware Testing or Quality Assurance
Software Testing or Quality Assurance
 
Introduction to Software Test Automation
Introduction to Software Test AutomationIntroduction to Software Test Automation
Introduction to Software Test Automation
 
System testing
System testingSystem testing
System testing
 
Importance of a Test Management Tool for Your Project
Importance of a Test Management Tool for Your ProjectImportance of a Test Management Tool for Your Project
Importance of a Test Management Tool for Your Project
 
Intro to Manual Testing
Intro to Manual TestingIntro to Manual Testing
Intro to Manual Testing
 
Automation testing
Automation testingAutomation testing
Automation testing
 
Software testing
Software testingSoftware testing
Software testing
 
Manual Testing Material by Durgasoft
Manual Testing Material by DurgasoftManual Testing Material by Durgasoft
Manual Testing Material by Durgasoft
 

Viewers also liked

Testing (System Analysis and Design)
Testing (System Analysis and Design)Testing (System Analysis and Design)
Testing (System Analysis and Design)Areeb Khan
 
System testing ppt
System testing pptSystem testing ppt
System testing pptL ESHWAR
 
System testing
System testingSystem testing
System testingSlideshare
 
USER INTERFACE DESIGN PPT
USER INTERFACE DESIGN PPTUSER INTERFACE DESIGN PPT
USER INTERFACE DESIGN PPTvicci4041
 
User Interface Design in Software Engineering SE15
User Interface Design in Software Engineering SE15User Interface Design in Software Engineering SE15
User Interface Design in Software Engineering SE15koolkampus
 
Lecture 7 Software Engineering and Design User Interface Design
Lecture 7 Software Engineering and Design User Interface Design Lecture 7 Software Engineering and Design User Interface Design
Lecture 7 Software Engineering and Design User Interface Design op205
 
User Interface Design
User Interface DesignUser Interface Design
User Interface DesignJReifman
 
User interface design: definitions, processes and principles
User interface design: definitions, processes and principlesUser interface design: definitions, processes and principles
User interface design: definitions, processes and principlesDavid Little
 
Testing concepts ppt
Testing concepts pptTesting concepts ppt
Testing concepts pptRathna Priya
 
Architecture design in software engineering
Architecture design in software engineeringArchitecture design in software engineering
Architecture design in software engineeringPreeti Mishra
 
Software Testing Basics
Software Testing BasicsSoftware Testing Basics
Software Testing BasicsBelal Raslan
 
Software testing methods, levels and types
Software testing methods, levels and typesSoftware testing methods, levels and types
Software testing methods, levels and typesConfiz
 
System Analysis and Design
System Analysis and DesignSystem Analysis and Design
System Analysis and DesignAamir Abbas
 

Viewers also liked (16)

Testing (System Analysis and Design)
Testing (System Analysis and Design)Testing (System Analysis and Design)
Testing (System Analysis and Design)
 
System testing ppt
System testing pptSystem testing ppt
System testing ppt
 
System testing
System testingSystem testing
System testing
 
System testing
System testingSystem testing
System testing
 
System testing
System testingSystem testing
System testing
 
USER INTERFACE DESIGN PPT
USER INTERFACE DESIGN PPTUSER INTERFACE DESIGN PPT
USER INTERFACE DESIGN PPT
 
User Interface Design in Software Engineering SE15
User Interface Design in Software Engineering SE15User Interface Design in Software Engineering SE15
User Interface Design in Software Engineering SE15
 
Lecture 7 Software Engineering and Design User Interface Design
Lecture 7 Software Engineering and Design User Interface Design Lecture 7 Software Engineering and Design User Interface Design
Lecture 7 Software Engineering and Design User Interface Design
 
User Interface Design
User Interface DesignUser Interface Design
User Interface Design
 
User interface design: definitions, processes and principles
User interface design: definitions, processes and principlesUser interface design: definitions, processes and principles
User interface design: definitions, processes and principles
 
Testing concepts ppt
Testing concepts pptTesting concepts ppt
Testing concepts ppt
 
Architectural Design
Architectural DesignArchitectural Design
Architectural Design
 
Architecture design in software engineering
Architecture design in software engineeringArchitecture design in software engineering
Architecture design in software engineering
 
Software Testing Basics
Software Testing BasicsSoftware Testing Basics
Software Testing Basics
 
Software testing methods, levels and types
Software testing methods, levels and typesSoftware testing methods, levels and types
Software testing methods, levels and types
 
System Analysis and Design
System Analysis and DesignSystem Analysis and Design
System Analysis and Design
 

Similar to Software testing basic concepts

ISTQB / ISEB Foundation Exam Practice - 2
ISTQB / ISEB Foundation Exam Practice - 2ISTQB / ISEB Foundation Exam Practice - 2
ISTQB / ISEB Foundation Exam Practice - 2Yogindernath Gupta
 
ISTQBCH2.ppt
ISTQBCH2.pptISTQBCH2.ppt
ISTQBCH2.pptghkadous
 
ISTQB, ISEB Lecture Notes- 2
ISTQB, ISEB Lecture Notes- 2ISTQB, ISEB Lecture Notes- 2
ISTQB, ISEB Lecture Notes- 2onsoftwaretest
 
Pre-Con Education: Introduction to Mainframe Academy With CA Technologies
Pre-Con Education: Introduction to Mainframe Academy With CA TechnologiesPre-Con Education: Introduction to Mainframe Academy With CA Technologies
Pre-Con Education: Introduction to Mainframe Academy With CA TechnologiesCA Technologies
 
Fitman webinar 2015 06 Verification and Validation methodology
Fitman webinar 2015 06 Verification and Validation methodologyFitman webinar 2015 06 Verification and Validation methodology
Fitman webinar 2015 06 Verification and Validation methodologyFITMAN FI
 
Gavish_Sharma Resume
Gavish_Sharma ResumeGavish_Sharma Resume
Gavish_Sharma ResumeGavish Sharma
 
11 steps of testing process - By Harshil Barot
11 steps of testing process - By Harshil Barot11 steps of testing process - By Harshil Barot
11 steps of testing process - By Harshil BarotHarshil Barot
 
OOD Principles and Patterns
OOD Principles and PatternsOOD Principles and Patterns
OOD Principles and PatternsNguyen Tung
 
ISTQB Foundation - Chapter 2
ISTQB Foundation - Chapter 2ISTQB Foundation - Chapter 2
ISTQB Foundation - Chapter 2Chandukar
 
Primer on application_performance_testing_v0.2
Primer on application_performance_testing_v0.2Primer on application_performance_testing_v0.2
Primer on application_performance_testing_v0.2Trevor Warren
 
Wim Demey - Regression Testing in a Migration Project
Wim Demey - Regression Testing in a Migration Project Wim Demey - Regression Testing in a Migration Project
Wim Demey - Regression Testing in a Migration Project TEST Huddle
 
Welingkar_final project_ppt_IMPORTANCE & NEED FOR TESTING
Welingkar_final project_ppt_IMPORTANCE & NEED FOR TESTINGWelingkar_final project_ppt_IMPORTANCE & NEED FOR TESTING
Welingkar_final project_ppt_IMPORTANCE & NEED FOR TESTINGSachin Pathania
 
Code campiasi scm-project-gabriel-cristescu-ditech
Code campiasi scm-project-gabriel-cristescu-ditechCode campiasi scm-project-gabriel-cristescu-ditech
Code campiasi scm-project-gabriel-cristescu-ditechCodecamp Romania
 
Diljith Abraham -Test Specialist
Diljith Abraham -Test Specialist Diljith Abraham -Test Specialist
Diljith Abraham -Test Specialist diljith abraham
 
Best Practices for Shifting Left Performance and Accessibility Testing
Best Practices for Shifting Left Performance and Accessibility TestingBest Practices for Shifting Left Performance and Accessibility Testing
Best Practices for Shifting Left Performance and Accessibility TestingPerfecto by Perforce
 
Designing for Testability: Differentiator in a Competitive Market
Designing for Testability: Differentiator in a Competitive MarketDesigning for Testability: Differentiator in a Competitive Market
Designing for Testability: Differentiator in a Competitive MarketTechWell
 

Similar to Software testing basic concepts (20)

ISTQB / ISEB Foundation Exam Practice - 2
ISTQB / ISEB Foundation Exam Practice - 2ISTQB / ISEB Foundation Exam Practice - 2
ISTQB / ISEB Foundation Exam Practice - 2
 
Pm unit 1,2,3,4,5,6
Pm unit 1,2,3,4,5,6Pm unit 1,2,3,4,5,6
Pm unit 1,2,3,4,5,6
 
ISTQBCH2.ppt
ISTQBCH2.pptISTQBCH2.ppt
ISTQBCH2.ppt
 
ISTQBCH2.ppt
ISTQBCH2.pptISTQBCH2.ppt
ISTQBCH2.ppt
 
ISTQB, ISEB Lecture Notes- 2
ISTQB, ISEB Lecture Notes- 2ISTQB, ISEB Lecture Notes- 2
ISTQB, ISEB Lecture Notes- 2
 
Pre-Con Education: Introduction to Mainframe Academy With CA Technologies
Pre-Con Education: Introduction to Mainframe Academy With CA TechnologiesPre-Con Education: Introduction to Mainframe Academy With CA Technologies
Pre-Con Education: Introduction to Mainframe Academy With CA Technologies
 
Fitman webinar 2015 06 Verification and Validation methodology
Fitman webinar 2015 06 Verification and Validation methodologyFitman webinar 2015 06 Verification and Validation methodology
Fitman webinar 2015 06 Verification and Validation methodology
 
Gavish_Sharma Resume
Gavish_Sharma ResumeGavish_Sharma Resume
Gavish_Sharma Resume
 
11 steps of testing process - By Harshil Barot
11 steps of testing process - By Harshil Barot11 steps of testing process - By Harshil Barot
11 steps of testing process - By Harshil Barot
 
OOD Principles and Patterns
OOD Principles and PatternsOOD Principles and Patterns
OOD Principles and Patterns
 
ISTQB Foundation - Chapter 2
ISTQB Foundation - Chapter 2ISTQB Foundation - Chapter 2
ISTQB Foundation - Chapter 2
 
Abhijit_Testing
Abhijit_TestingAbhijit_Testing
Abhijit_Testing
 
Primer on application_performance_testing_v0.2
Primer on application_performance_testing_v0.2Primer on application_performance_testing_v0.2
Primer on application_performance_testing_v0.2
 
Wim Demey - Regression Testing in a Migration Project
Wim Demey - Regression Testing in a Migration Project Wim Demey - Regression Testing in a Migration Project
Wim Demey - Regression Testing in a Migration Project
 
Welingkar_final project_ppt_IMPORTANCE & NEED FOR TESTING
Welingkar_final project_ppt_IMPORTANCE & NEED FOR TESTINGWelingkar_final project_ppt_IMPORTANCE & NEED FOR TESTING
Welingkar_final project_ppt_IMPORTANCE & NEED FOR TESTING
 
Room 2 - 7 - Lã Mạnh Hà - Agile + DevOps = A great combination
Room 2 - 7 - Lã Mạnh Hà - Agile + DevOps = A great combinationRoom 2 - 7 - Lã Mạnh Hà - Agile + DevOps = A great combination
Room 2 - 7 - Lã Mạnh Hà - Agile + DevOps = A great combination
 
Code campiasi scm-project-gabriel-cristescu-ditech
Code campiasi scm-project-gabriel-cristescu-ditechCode campiasi scm-project-gabriel-cristescu-ditech
Code campiasi scm-project-gabriel-cristescu-ditech
 
Diljith Abraham -Test Specialist
Diljith Abraham -Test Specialist Diljith Abraham -Test Specialist
Diljith Abraham -Test Specialist
 
Best Practices for Shifting Left Performance and Accessibility Testing
Best Practices for Shifting Left Performance and Accessibility TestingBest Practices for Shifting Left Performance and Accessibility Testing
Best Practices for Shifting Left Performance and Accessibility Testing
 
Designing for Testability: Differentiator in a Competitive Market
Designing for Testability: Differentiator in a Competitive MarketDesigning for Testability: Differentiator in a Competitive Market
Designing for Testability: Differentiator in a Competitive Market
 

Recently uploaded

TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc
 
UiPath Community: Communication Mining from Zero to Hero
UiPath Community: Communication Mining from Zero to HeroUiPath Community: Communication Mining from Zero to Hero
UiPath Community: Communication Mining from Zero to HeroUiPathCommunity
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteDianaGray10
 
Decarbonising Buildings: Making a net-zero built environment a reality
Decarbonising Buildings: Making a net-zero built environment a realityDecarbonising Buildings: Making a net-zero built environment a reality
Decarbonising Buildings: Making a net-zero built environment a realityIES VE
 
Sample pptx for embedding into website for demo
Sample pptx for embedding into website for demoSample pptx for embedding into website for demo
Sample pptx for embedding into website for demoHarshalMandlekar2
 
Generative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersGenerative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersRaghuram Pandurangan
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsPixlogix Infotech
 
Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...Farhan Tariq
 
2024 April Patch Tuesday
2024 April Patch Tuesday2024 April Patch Tuesday
2024 April Patch TuesdayIvanti
 
Data governance with Unity Catalog Presentation
Data governance with Unity Catalog PresentationData governance with Unity Catalog Presentation
Data governance with Unity Catalog PresentationKnoldus Inc.
 
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024BookNet Canada
 
Emixa Mendix Meetup 11 April 2024 about Mendix Native development
Emixa Mendix Meetup 11 April 2024 about Mendix Native developmentEmixa Mendix Meetup 11 April 2024 about Mendix Native development
Emixa Mendix Meetup 11 April 2024 about Mendix Native developmentPim van der Noll
 
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...Wes McKinney
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024Lonnie McRorey
 
Manual 508 Accessibility Compliance Audit
Manual 508 Accessibility Compliance AuditManual 508 Accessibility Compliance Audit
Manual 508 Accessibility Compliance AuditSkynet Technologies
 
A Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software DevelopersA Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software DevelopersNicole Novielli
 
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxUse of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxLoriGlavin3
 
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxA Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxLoriGlavin3
 
Assure Ecommerce and Retail Operations Uptime with ThousandEyes
Assure Ecommerce and Retail Operations Uptime with ThousandEyesAssure Ecommerce and Retail Operations Uptime with ThousandEyes
Assure Ecommerce and Retail Operations Uptime with ThousandEyesThousandEyes
 
Testing tools and AI - ideas what to try with some tool examples
Testing tools and AI - ideas what to try with some tool examplesTesting tools and AI - ideas what to try with some tool examples
Testing tools and AI - ideas what to try with some tool examplesKari Kakkonen
 

Recently uploaded (20)

TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
 
UiPath Community: Communication Mining from Zero to Hero
UiPath Community: Communication Mining from Zero to HeroUiPath Community: Communication Mining from Zero to Hero
UiPath Community: Communication Mining from Zero to Hero
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test Suite
 
Decarbonising Buildings: Making a net-zero built environment a reality
Decarbonising Buildings: Making a net-zero built environment a realityDecarbonising Buildings: Making a net-zero built environment a reality
Decarbonising Buildings: Making a net-zero built environment a reality
 
Sample pptx for embedding into website for demo
Sample pptx for embedding into website for demoSample pptx for embedding into website for demo
Sample pptx for embedding into website for demo
 
Generative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersGenerative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information Developers
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and Cons
 
Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...
 
2024 April Patch Tuesday
2024 April Patch Tuesday2024 April Patch Tuesday
2024 April Patch Tuesday
 
Data governance with Unity Catalog Presentation
Data governance with Unity Catalog PresentationData governance with Unity Catalog Presentation
Data governance with Unity Catalog Presentation
 
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
 
Emixa Mendix Meetup 11 April 2024 about Mendix Native development
Emixa Mendix Meetup 11 April 2024 about Mendix Native developmentEmixa Mendix Meetup 11 April 2024 about Mendix Native development
Emixa Mendix Meetup 11 April 2024 about Mendix Native development
 
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024
 
Manual 508 Accessibility Compliance Audit
Manual 508 Accessibility Compliance AuditManual 508 Accessibility Compliance Audit
Manual 508 Accessibility Compliance Audit
 
A Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software DevelopersA Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software Developers
 
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxUse of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
 
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxA Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
 
Assure Ecommerce and Retail Operations Uptime with ThousandEyes
Assure Ecommerce and Retail Operations Uptime with ThousandEyesAssure Ecommerce and Retail Operations Uptime with ThousandEyes
Assure Ecommerce and Retail Operations Uptime with ThousandEyes
 
Testing tools and AI - ideas what to try with some tool examples
Testing tools and AI - ideas what to try with some tool examplesTesting tools and AI - ideas what to try with some tool examples
Testing tools and AI - ideas what to try with some tool examples
 

Software testing basic concepts

  • 1. © Copyright 2006 FPT Software 1© FPT SOFTWARE – TRAINING MATERIAL – Internal use 04e-BM/NS/HDCV/FSOFT v2/2 Software TestingSoftware Testing Basic ConceptsBasic Concepts Instructor: Dang Tu LinhInstructor: Dang Tu Linh
  • 2. © Copyright 2006 FPT Software 2© FPT SOFTWARE – TRAINING MATERIAL – Internal use 04e-BM/NS/HDCV/FSOFT v2/2 AgendaAgenda  Duration: 1.5 Hours  Purpose: Understand basic Test concepts  Audience: All Members  Content: 1. Introduction 2. Defect concepts 3. Test process 4. Test plan & test design 5. Testing strategy
  • 3. © Copyright 2006 FPT Software 3© FPT SOFTWARE – TRAINING MATERIAL – Internal use 04e-BM/NS/HDCV/FSOFT v2/2 IntroductionIntroduction Objectives: To arrive at a common understanding of the scope of testing activity To familiarize the audience with the terminology used in the testing work Understand the required test skills of developers
  • 4. © Copyright 2006 FPT Software 4© FPT SOFTWARE – TRAINING MATERIAL – Internal use 04e-BM/NS/HDCV/FSOFT v2/2 Typical Project Blues…Typical Project Blues…
  • 5. © Copyright 2006 FPT Software 5© FPT SOFTWARE – TRAINING MATERIAL – Internal use 04e-BM/NS/HDCV/FSOFT v2/2 Testing definitionTesting definition Testing 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)
  • 6. © Copyright 2006 FPT Software 6© FPT SOFTWARE – TRAINING MATERIAL – Internal use 04e-BM/NS/HDCV/FSOFT v2/2 Testing ObjectivesTesting Objectives Primary: Execute a program with the intent of finding errors to  Determine whether system meets specifications  Determine whether system meets user’s needs Secondary  Continuously improve the testing process
  • 7. © Copyright 2006 FPT Software 7© FPT SOFTWARE – TRAINING MATERIAL – Internal use 04e-BM/NS/HDCV/FSOFT v2/2 MisunderstandingsMisunderstandings about testingabout testing Testing is debugging Testing is not the job of a programmer If programmers were more careful testing would be unnecessary Testing never ends Testing activities start only after the coding is complete Testing is not a creative task
  • 8. © Copyright 2006 FPT Software 8© FPT SOFTWARE – TRAINING MATERIAL – Internal use 04e-BM/NS/HDCV/FSOFT v2/2 Theory & RealityTheory & Reality Theory  Need sufficient time  Baselined & freezed requirements  Automation testing  Have trained testers: test process, business flow,… Reality  Time Pressures to keep delivery date  Continuously updated requirements  Don’t know when to stop: Update & update Requirement continuously (CRs)  Tester updates TC and re-tests  Manual testing  Lack of dedicated software test environment: share, steal  Inexperienced testers without appropriate training
  • 9. © Copyright 2006 FPT Software 9© FPT SOFTWARE – TRAINING MATERIAL – Internal use 04e-BM/NS/HDCV/FSOFT v2/2 Defect conceptsDefect concepts Objectives: Understand the definition of defect  Understand the cost of a bug to software development  Understand the common types of defects and their perceived severity What is defect?What is defect? A defect is any error found by testing and reviewing activities (All errors found by internal reviewer, external reviewer and customer).
  • 10. © Copyright 2006 FPT Software 10© FPT SOFTWARE – TRAINING MATERIAL – Internal use 04e-BM/NS/HDCV/FSOFT v2/2 Where defects come from?Where defects come from? Products  SRS, DD, Source code, Test cases, etc. Quality Control  Review, Test, Audit, Inspection Processes  Requirements, Design, Coding, Test, etc. Other sources:  Change requests, misunderstanding, carelessness, planning, etc.
  • 11. © Copyright 2006 FPT Software 11© FPT SOFTWARE – TRAINING MATERIAL – Internal use 04e-BM/NS/HDCV/FSOFT v2/2 Cost of defectsCost of defects
  • 12. © Copyright 2006 FPT Software 12© FPT SOFTWARE – TRAINING MATERIAL – Internal use 04e-BM/NS/HDCV/FSOFT v2/2 Defect still exists in the product, change status to ERROR FSoft Defect lifecycleFSoft Defect lifecycle Defect classification:  Open defects  Closed defects  Leakage Log defects Analyze defects Fix defects Re-test Step 1 Step 2 Step 3 Step 4 What: To log defect into DMS with clear information: project, module, stage, QC activity, severity, type, due date, tester, created date ... Who: Tester Defect’s status: ERROR What: -To analyze the causes of the defect, find- out solution and assign to person who is responsible for correcting it. - To accept the defect if it’s acceptable (by concession of authority or customer). Who: Project Leader Defect’s status: ASSIGNED / ACCEPTED What: To correct the defect and perform unit testing to make sure the defect has been removed. Who: Developer Defect’s status: CORRECTED What: To retest the function(s) containing the defect and make sure that the defect has been corrected completely Who: Tester Defect’s status: CLOSED
  • 13. © Copyright 2006 FPT Software 13© FPT SOFTWARE – TRAINING MATERIAL – Internal use 04e-BM/NS/HDCV/FSOFT v2/2 Defect status: • Error • Assigned • Corrected • Cancelled • Accepted: by PM/PTL/Customer • Closed: by tester/PM/PTL Leakage Defects: • Acceptance test • After Release test • After Release review Fsoft Defect classificationFsoft Defect classification
  • 14. © Copyright 2006 FPT Software 14© FPT SOFTWARE – TRAINING MATERIAL – Internal use 04e-BM/NS/HDCV/FSOFT v2/2 Fsoft Defect classificationFsoft Defect classification Defect type • Functionality o Requirement misunderstanding o Feature missing o Coding logic o Business logic • User Interface • Performance • Design issue • Coding standard Severity: How bad the problem is (some time disagreement btw. Dev & Tester)  Fatal: the system is broken  Serious: can not work around  Medium: impact the function  Cosmetic: not impact the function
  • 15. © Copyright 2006 FPT Software 15© FPT SOFTWARE – TRAINING MATERIAL – Internal use 04e-BM/NS/HDCV/FSOFT v2/2 Fsoft Defect classificationFsoft Defect classification Defect origin  Requirement  Design  Coding  Test  CM  Document control Priority  Immediately  High priority  Normal priority  Low priority Work product  Software module  Software Package  ADD  DDD  Test Cases (UT/IT/ST) Quality control activity  Code review  Unit test  Integration test  System test  Document review  Inspection  Audit
  • 16. © Copyright 2006 FPT Software 16© FPT SOFTWARE – TRAINING MATERIAL – Internal use 04e-BM/NS/HDCV/FSOFT v2/2 Test ProcessTest Process Objectives:  Understand the steps followed for a test process  Understand test planning process  FSoft Test Process
  • 17. © Copyright 2006 FPT Software 17© FPT SOFTWARE – TRAINING MATERIAL – Internal use 04e-BM/NS/HDCV/FSOFT v2/2 Tester CompetencyTester Competency Soft skills (non-technical attributes)  Discipline and Perseverance • Testing is repetitive and requests a lot of manual effort • Have the ability to withstand pressures and workload • Say ‘no’ to managers when quality is insufficient  Reading skills: study many docs of specs, design  Communication & Interpreter skills • Both Verbal and Written communication • Diplomatic skill • Be able to communicate with technical and non-technical people, engineers, managers, customers  Negative thinking: foresee things that can go wrong, evaluate risks  Attitude: ‘test to break’ attitude  Time management and Effort prioritization
  • 18. © Copyright 2006 FPT Software 18© FPT SOFTWARE – TRAINING MATERIAL – Internal use 04e-BM/NS/HDCV/FSOFT v2/2 Tester CompetencyTester Competency Technical skills  Familiarity with software development architectures, processes  Familiarity with testing methodologies  Very clearly articulate specs, designs, business rules, inspection reports, configurations, code changes, TP, TC, bug reports, user manuals,…  Know how and where to look for bugs  Know how to report the defects effectively for quickly reproduce
  • 19. © Copyright 2006 FPT Software 19© FPT SOFTWARE – TRAINING MATERIAL – Internal use 04e-BM/NS/HDCV/FSOFT v2/2 The Test ProcessThe Test Process Data Analysis - Analyze root Causes of defects - Identify actions Test Execution Perform testing Bug Reporting - Bug Fixing - TC Updating Bug Tracking (Re-test) Test Report Test Preparation SRS study Create Test Design Review & Approval - Develop test cases, test scripts - Prepare test data Test Planning Create Test Plan (by Test leader) Definition Solution Construction Transition Termination Initiation Project life cycle Test process
  • 20. © Copyright 2006 FPT Software 20© FPT SOFTWARE – TRAINING MATERIAL – Internal use 04e-BM/NS/HDCV/FSOFT v2/2 Input/Output for testingInput/Output for testing Input: • Customer requirements and Acceptance criteria • Change requests • Software Requirement Specification (SRS) • Design documents (ADD, DDD) • Programs (Modules) Output: • Test documents: Test plan, Test cases and procedures, Test script, Test data • Defect list • Test report (Pass/Fail of each TC, Summary report)
  • 21. © Copyright 2006 FPT Software 21© FPT SOFTWARE – TRAINING MATERIAL – Internal use 04e-BM/NS/HDCV/FSOFT v2/2 FSoft Test resourcesFSoft Test resources Guideline: Test process & Test guideline Templates for test documents  Test Plan  Test case specification  Test report  Defect analysis report FSOFT tools  Defect tracking tool: DMS  Test Effort tracking tool: Timesheet  Test schedule: FSoft Insight  Test automation tools – Rational Robot (Functional & Performance test) – OpenSTA (Open source) – Witir (Open source) FATA: Test Council
  • 22. © Copyright 2006 FPT Software 22© FPT SOFTWARE – TRAINING MATERIAL – Internal use 04e-BM/NS/HDCV/FSOFT v2/2 Test strategyTest strategy Objectives  Understand Unit Testing concept  Understand Integration Testing concept  Understand System Testing concept  Understand Acceptance Testing concept  Overview of Test types
  • 23. © Copyright 2006 FPT Software 23© FPT SOFTWARE – TRAINING MATERIAL – Internal use 04e-BM/NS/HDCV/FSOFT v2/2 V-ModelV-Model
  • 24. © Copyright 2006 FPT Software 24© FPT SOFTWARE – TRAINING MATERIAL – Internal use 04e-BM/NS/HDCV/FSOFT v2/2 Testing stagesTesting stages There are 4 stages of Testing:  Unit Test  Integration Test  System Test  Acceptance Test
  • 25. © Copyright 2006 FPT Software 25© FPT SOFTWARE – TRAINING MATERIAL – Internal use 04e-BM/NS/HDCV/FSOFT v2/2 Unit TestUnit Test  Purpose: to verify that the component/module functions properly  Check: – internal data structures – Logic – boundary conditions for input/output data  Normally: White box oriented  Doer: Development team  Metrics: Test coverage: – Statement – Branch – Path – Condition
  • 26. © Copyright 2006 FPT Software 26© FPT SOFTWARE – TRAINING MATERIAL – Internal use 04e-BM/NS/HDCV/FSOFT v2/2 Integration TestIntegration Test  Purpose: • To ensure that code is implemented and designed properly • to take unit tested modules and build a program structure that has been dictated by design  IT only after UT  Combining the individual components to uncover errors associated with interfacing  Normally: Black box oriented  Doer: independent Test team
  • 27. © Copyright 2006 FPT Software 27© FPT SOFTWARE – TRAINING MATERIAL – Internal use 04e-BM/NS/HDCV/FSOFT v2/2 System TestSystem Test  Purpose: To ensure that the system does what the requirement specifies  Types – Function Testing – Performance Testing – Installation Testing  Normally: Black box oriented  Doer: independent Test team
  • 28. © Copyright 2006 FPT Software 28© FPT SOFTWARE – TRAINING MATERIAL – Internal use 04e-BM/NS/HDCV/FSOFT v2/2 Acceptance TestAcceptance Test  Customer’s way to verify that what was wanted is what is built  Uncovers more than requirements discrepancies  Allows the customers to determine what they really want, whether specified in the document or not.  New problems may arise  Customers may decide that the problem as changed and a different solution is needed  Normally: Black box oriented  Doer: Customer/independent Test team
  • 29. © Copyright 2006 FPT Software 29© FPT SOFTWARE – TRAINING MATERIAL – Internal use 04e-BM/NS/HDCV/FSOFT v2/2 Testing typesTesting types Functional test  Function testing  User Interface testing  Data and database integrity testing  Business cycle testing User Interface: Layout Performance test  Performance profiling  Load testing  Stress testing  Volume testing Access control & Security test Regression test
  • 30. © Copyright 2006 FPT Software 30© FPT SOFTWARE – TRAINING MATERIAL – Internal use 04e-BM/NS/HDCV/FSOFT v2/2 Test techniques/methodsTest techniques/methods White Box Testing  It guarantees that all independent paths within a module have been exercised at least once  Exercise all logical decisions on their true an false sides  Execute all loops their boundaries and within their operational bounds  Exercise internal data structures to assure their validity Black Box Testing  Focuses on functional requirement of the software  Derive sets of input conditions that will fully exercise all functional requirements for a program  Not an alternative to white box
  • 31. © Copyright 2006 FPT Software 31© FPT SOFTWARE – TRAINING MATERIAL – Internal use 04e-BM/NS/HDCV/FSOFT v2/2 Test Plan, Test DesignTest Plan, Test Design & Test Cases& Test Cases Objectives  Understand the principles of test plan & test design  Understand the concepts for test case design  Understand the structure of test cases
  • 32. © Copyright 2006 FPT Software 32© FPT SOFTWARE – TRAINING MATERIAL – Internal use 04e-BM/NS/HDCV/FSOFT v2/2 Test Planning: ObjectivesTest Planning: Objectives Test planning is to:  Define Test strategy: – What to test: list of requirements to test – How to test (Test techniques) – Test types – Test tool, ….  Define the responsibilities  Decide test metrics & manage through metrics  “When to Stop Testing?” – Not good Unit Test – Low quality of code,… – Meet requested Test coverage – All Test cases are tested and passed
  • 33. © Copyright 2006 FPT Software 33© FPT SOFTWARE – TRAINING MATERIAL – Internal use 04e-BM/NS/HDCV/FSOFT v2/2 Test PlanTest Plan  What to do  Who does it: Test team, Development team  How to do it: Techniques  When to do it
  • 34. © Copyright 2006 FPT Software 34© FPT SOFTWARE – TRAINING MATERIAL – Internal use 04e-BM/NS/HDCV/FSOFT v2/2 Test PlanTest Plan Test Plan to define:  Scope of test: stages and types of test  Risks may affect testing: quantify the loss of the risk  Training needs for testers  Requirements to test: what will be tested  Testing strategy: how will the test be performed  Completion criteria (Pass/Fail)  Criteria to stop testing  Tools to be used for testing  Testing resource and environment (Responsibilities of testers)  Test Milestone: schedule of testing activities  Test deliverables: outputs of testing
  • 35. © Copyright 2006 FPT Software 35© FPT SOFTWARE – TRAINING MATERIAL – Internal use 04e-BM/NS/HDCV/FSOFT v2/2 When to Stop Testing?When to Stop Testing? Not good UT: Defects of UT do not meet Defect plan Low quality of code: too many defects (over the number identified in planning phase/kick-off meeting) Does not meet requested Test coverage (by customer/PM). It must be identified at planning phase.
  • 36. © Copyright 2006 FPT Software 36© FPT SOFTWARE – TRAINING MATERIAL – Internal use 04e-BM/NS/HDCV/FSOFT v2/2 Test design structureTest design structure Specifications  Basic flow  Alternative flow Test Design  All test cases should be traceable to requirements  Design framework and rules for test cases (large/average items)  Plan number of test cases for normal, abnormal & boundary data  Assign testers for module/function/large items
  • 37. © Copyright 2006 FPT Software 37© FPT SOFTWARE – TRAINING MATERIAL – Internal use 04e-BM/NS/HDCV/FSOFT v2/2 Test DesignTest Design Structure/Framework for Test cases (TC): • Modules or functions • Large items • GUI • Functions • Performance Number of TC:  Total  For each module  For each type: GUI/Function  For normal/abnormal/boundary cases
  • 38. © Copyright 2006 FPT Software 38© FPT SOFTWARE – TRAINING MATERIAL – Internal use 04e-BM/NS/HDCV/FSOFT v2/2 Test CaseTest Case Test environment Test condition A test case includes: • Action (sample: click on Add button, on a link, input birth day…) • Input data (valid/invalid/boundary data) • Expected result (message, …)  Good test case:  Structure of TC is clear and reasonable.  Follow requirement closely.  Cover all of cases that can occur.  Description and test conditions is brief and easy to understand  Procedure and expected result is a step by step process
  • 39. © Copyright 2006 FPT Software 39© FPT SOFTWARE – TRAINING MATERIAL – Internal use 04e-BM/NS/HDCV/FSOFT v2/2 Testing MeasurementTesting Measurement Objectives  Understand the need for metrics and measurement in Testing  Understand the minimal metrics required for the measurement of the testing activity
  • 40. © Copyright 2006 FPT Software 40© FPT SOFTWARE – TRAINING MATERIAL – Internal use 04e-BM/NS/HDCV/FSOFT v2/2 Examples of testing measurement?Examples of testing measurement?  Product: We’ve tested 80% of the lines of code  Plan: We’ve run 80% of the test cases  Results: We’ve discovered 593 defects  Effort: We’ve worked 80 hours a week on this for 4 months. We’ve run 7,243 tests  Quality of Testing: Beta testers have found 30 defects that we missed. Our regression tests seems ineffective  History across projects: At this milestone on previous projects, we had fewer than 12% of the defects found still open. We should be at that percentage on this product too
  • 41. © Copyright 2006 FPT Software 41© FPT SOFTWARE – TRAINING MATERIAL – Internal use 04e-BM/NS/HDCV/FSOFT v2/2 How do we measure Testing inHow do we measure Testing in FSOFTFSOFT?? Measurements:  Defects in DMS  Test effort in Timesheet  Defect rate in Fsoft Insight: Weighted defects/ project size (in UCP)  Test coverage: number of executed test cases/ Total number of test cases  Test successful coverage: number of test cases executed successfully/total number of test cases  Defect removal efficiency Metrics to assess tester performance:  Test effectiveness • Weighted defects/ Test execution effort  Leakage • Weighted defects found after release/ project size
  • 42. © Copyright 2006 FPT Software 42© FPT SOFTWARE – TRAINING MATERIAL – Internal use 04e-BM/NS/HDCV/FSOFT v2/2 Q & AQ & A

Editor's Notes

  1. Instill: lam cho tham nhuan dan, truyen dan
  2. This slide lists some incorrect understandings about software testing
  3. Teacher should talk about the required conditions for efficient testing margin: du tru
  4. Instill: lam cho tham nhuan dan, truyen dan
  5. Instill: lam cho tham nhuan dan, truyen dan
  6. Pfleeger Page 313 Before running a test, review the test cases to verify that the cases are correct, feasible, and provide the desired degree of coverage, and demonstrate the desired functionality