SlideShare a Scribd company logo
Software Testing
and Process..
BY GOURAV KALBALIA
1
Various types of testing in a
Software..
 Testing Concepts
 Testing Process
 Black-Box Testing
 White-Box Testing
 Metrics Testing
2
Testing Concepts…
 Error, Fault and Failure
 Test Case, Test Suite and Test Harness
 Psychology of Testing
 Level of Testing
3
 Error refers to the discrepancy between a computed value and
the true, or theoretically correct value.
 It is the difference between the actual output of a software and
the correct output.
 Error is also used to refer to human action that results in software
containing a defect or fault
4
 Fault is a condition that causes a system to fail in performing its required
function.
 A fault is the basic reason for software malfunction and is practically
synonymous with the commonly used term bug, or the somewhat more
general term defect.
 Failure is the inability of a system or component to perform a required
function according to its specifications.
 A software failure occurs if the behaviour of the software is different from
the specified behaviour.
 Failures may be caused by functional or performance factors.
5
 Presence of an error (in the state) implies that a failure must have
occurred, and the observance of a failure implies that a fault
must be present in the system.
 However, the presence of a fault does not imply that a failure
must occur. The presence of a fault in a system only implies that
the fault has a potential to cause a failure.
6
Test Case, Test Suite, and Test
Harness
 A test case (often called a test) can be considered as comprising a
set of test inputs and execution conditions, which are designed to
exercise the SUT(software under testing) in a particular manner.
 A test case also specifies the expected outcome from executing
the SUT under the specified execution conditions and test inputs.
 A testing framework is also sometimes called a test harness. A test
harness or a test framework makes the life of a tester simpler by
providing easy means of defining a test suite, executing it, and
reporting the results.
7
 There is another level of testing, called regression testing.
 It is performed when some changes are made to an
existing system.
 Besides ensuring the desired behaviour of the new services,
testing has to ensure that the desired behaviour of the old
services is maintained.
 Complete regression testing of large systems can take a
considerable amount of time, even if automation is used.
8
Psychology of Testing
 There are a number of heuristics and rules of thumb for deciding the
test cases, selecting test cases is still a creative activity that relies on
the ingenuity of the tester.
 Because of this, the psychology of the person performing the
testing becomes important
9
Levels of Testing
 Testing detect the faults
remaining from earlier stages, in
addition to the faults introduced
during coding itself.
 At each level of testing aims to
test different aspects of the
system.
 The basic levels are attempt to
detect different types of faults.
10
 The first level of testing is called unit
testing, it is essentially for verification of
the code produced by individual
programmers.
 Then next level of testing is called
integration testing. Many unit tested
modules are combined into subsystems,
which are then tested.
 The goal here is to see if the modules
can be integrated properly.
11
 In System testing and acceptance testing
the entire software system is tested.
 The goal is to see if the software meets its
requirements.
 This is often a large exercise, which for
large projects may last many weeks or
months.
 Acceptance testing is often performed
with realistic data of the client to
demonstrate that the software is working
satisfactorily.
 Acceptance testing tests if the system
satisfactorily solves the problems for which
it was commissioned.
12
Testing Process…
 Testing is a quality control activity which focuses on identifying
defects (which are then removed).
 For each software unit testing, the test cases will have to be
designed and then executed. Overall, testing in a project is a
complex task which also consumes the maximum effort.
Hence, testing has to be done properly in a project
 The testing process for a project consists of three high-level
tasks—
 Test planning,
 Test case design,
 Test execution.
13
 Test case design is a major activity in the testing process. Careful
selection of test cases that satisfy the criterion and approach
specified is essential for proper testing
 Another reason for specifying the test cases in a document or a
script is that by doing this, the tester can see the testing of the unit in
totality and the effect of the total set of test cases. This type of
evaluation is hard to do in on-the-fly testing where test cases are
determined as testing proceeds. It also allows optimizing the number
of test cases as evaluation of the test suite may show that some test
cases are redundant
14
 In a project, testing commences with a test plan and terminates with
successful execution of acceptance testing.
 A test plan is a general document for the entire project that defines the
scope, approach to be taken, and the schedule of testing, as well as
identifies the test items for testing and the personnel responsible for the
different activities of testing.
 The test planning can be done well before the actual testing commences
and can be done in parallel with the coding and design activities. The inputs
for forming the test plan are:
 Project plan,
 Requirements document
 Architecture or design document.
 A test plan should contain the following:
 Test unit specification – Features to be tested – Approach for testing – Test
deliverables – Schedule and task allocation
15
Test Plan and Design
 The test plan focuses on how the
testing for the project will proceed,
which units will be tested, and what
approaches (and tools) are to be
used during the various stages of
testing.
 Test case design has to be done
separately for each unit. Based on
the approach specified in the test
plan, and the features to be tested,
the test cases are designed and
specified for testing the unit.
 In a round of testing, the outcome
of all the test cases is recorded (i.e.,
pass or fail).
16
Test Case Execution
 With the specification of test cases, the next step in the testing process is to
execute them
 Executing the test cases may require construction of driver modules or stubs. It
may also require modules to set up the environment as stated in the test plan
and test case specifications. Only after all these are ready can the test cases be
executed.
 During test case execution, defects are found. These defects are then fixed and
tesing is done again to verify the fix. To facilitate reporting and tracking of
defects found during testing (and other quality control activities), defects found
are often logged.
 During test case execution, defects are found. These defects are then fixed and
tesing is done again to verify the fix. To facilitate reporting and tracking of
defects found during testing (and other quality control activities), defects found
are often logged.
 Defect logging and tracking is considered one of the best practices for
managing a project , and is followed by most software organizations.
17
 There are some good reasons why test cases are specified before
they are used for testing. It is known that testing has severe
limitations and the effectiveness of testing depends very heavily on
the exact nature of the test cases. It is therefore important to ensure
that the set of test cases used is of high quality.
 a formal document or work product is needed, for review of test
cases, the test case specification document is required. This is the
primary reason for documenting the test cases.
18
 A defect can be found by anyone
at anytime. When a defect is
found, it is logged in a defect
control system, along with
sufficient information about the
defect.
 The defect is then in the state
“submitted,”
 Now The assigned person does the
debugging and fixes the reported
defect.
 Then defect enters the “fixed”
state. However, a defect that is
fixed is still not considered as fully
done.
19
 The successful fixing of the defect is verified.
This verification may be done by another
person (often the submitter), or by a test
team, and typically involves running some
tests.
 Once the defect fixing is verified, then the
defect can be marked as “closed.” In other
words, the general life cycle of a defect has
three states—submitted, fixed, and closed, A
defect that is not closed is also called open.
 Besides using the log for tracking defects, the
data in the log can also be used for analysis
purposes
20
 The successful fixing of the defect is
verified. This verification may be done by
another person (often the submitter), or
by a test team, and typically involves
running some tests. Once the defect
fixing is verified, then the defect can be
marked as “closed.”
 In other words, the general life cycle of a
defect has three states—submitted,
fixed, and closed, A defect that is not
closed is also called open.
 Besides using the log for tracking
defects, the data in the log can also be
used for analysis purposes
21
Thank You
22
Ad

More Related Content

What's hot (20)

Software testing life cycle
Software testing life cycleSoftware testing life cycle
Software testing life cycle
Garuda Trainings
 
Software testing
Software testingSoftware testing
Software testing
Madhumita Chatterjee
 
Validation testing
Validation testingValidation testing
Validation testing
Slideshare
 
Regression testing
Regression testingRegression testing
Regression testing
Mohua Amin
 
Software testing & Quality Assurance
Software testing & Quality Assurance Software testing & Quality Assurance
Software testing & Quality Assurance
Webtech Learning
 
verification and validation
verification and validationverification and validation
verification and validation
Dinesh Pasi
 
Testing Metrics
Testing MetricsTesting Metrics
Testing Metrics
PM Venkatesha Babu
 
Basic software-testing-concepts
Basic software-testing-conceptsBasic software-testing-concepts
Basic software-testing-concepts
medsherb
 
TESTING LIFE CYCLE PPT
TESTING LIFE CYCLE PPTTESTING LIFE CYCLE PPT
TESTING LIFE CYCLE PPT
suhasreddy1
 
Testing methodology
Testing methodologyTesting methodology
Testing methodology
Dina Hanbazazah
 
Software testing
Software testingSoftware testing
Software testing
balamurugan.k Kalibalamurugan
 
Testing fundamentals
Testing fundamentalsTesting fundamentals
Testing fundamentals
Raviteja Chowdary Adusumalli
 
Software Testing 101
Software Testing 101Software Testing 101
Software Testing 101
QA Hannah
 
Unit testing
Unit testing Unit testing
Unit testing
Mani Kanth
 
powerpoint template for testing training
powerpoint template for testing trainingpowerpoint template for testing training
powerpoint template for testing training
John Roddy
 
What is Integration Testing? | Edureka
What is Integration Testing? | EdurekaWhat is Integration Testing? | Edureka
What is Integration Testing? | Edureka
Edureka!
 
Types of testing
Types of testingTypes of testing
Types of testing
Sonam Agarwal
 
What is Test Plan? Edureka
What is Test Plan? EdurekaWhat is Test Plan? Edureka
What is Test Plan? Edureka
Edureka!
 
SOFTWARE TESTING
SOFTWARE TESTINGSOFTWARE TESTING
SOFTWARE TESTING
Priyanka Karancy
 
Testing
TestingTesting
Testing
Sonali Chauhan
 
Software testing life cycle
Software testing life cycleSoftware testing life cycle
Software testing life cycle
Garuda Trainings
 
Validation testing
Validation testingValidation testing
Validation testing
Slideshare
 
Regression testing
Regression testingRegression testing
Regression testing
Mohua Amin
 
Software testing & Quality Assurance
Software testing & Quality Assurance Software testing & Quality Assurance
Software testing & Quality Assurance
Webtech Learning
 
verification and validation
verification and validationverification and validation
verification and validation
Dinesh Pasi
 
Basic software-testing-concepts
Basic software-testing-conceptsBasic software-testing-concepts
Basic software-testing-concepts
medsherb
 
TESTING LIFE CYCLE PPT
TESTING LIFE CYCLE PPTTESTING LIFE CYCLE PPT
TESTING LIFE CYCLE PPT
suhasreddy1
 
Software Testing 101
Software Testing 101Software Testing 101
Software Testing 101
QA Hannah
 
powerpoint template for testing training
powerpoint template for testing trainingpowerpoint template for testing training
powerpoint template for testing training
John Roddy
 
What is Integration Testing? | Edureka
What is Integration Testing? | EdurekaWhat is Integration Testing? | Edureka
What is Integration Testing? | Edureka
Edureka!
 
What is Test Plan? Edureka
What is Test Plan? EdurekaWhat is Test Plan? Edureka
What is Test Plan? Edureka
Edureka!
 

Viewers also liked (20)

Lesson 2....PPT 1
Lesson 2....PPT 1Lesson 2....PPT 1
Lesson 2....PPT 1
bhushan Nehete
 
Eleven step of software testing process
Eleven step of software testing processEleven step of software testing process
Eleven step of software testing process
Himanshu
 
Software Testing Process
Software Testing ProcessSoftware Testing Process
Software Testing Process
guest1f2740
 
Chapter 3 SOFTWARE TESTING PROCESS
Chapter 3 SOFTWARE TESTING PROCESSChapter 3 SOFTWARE TESTING PROCESS
Chapter 3 SOFTWARE TESTING PROCESS
st. michael
 
Software Testing
Software TestingSoftware Testing
Software Testing
Vishal Singh
 
Reporting On The Testing Process
Reporting On The Testing ProcessReporting On The Testing Process
Reporting On The Testing Process
gavhays
 
4. The Software Development Process - Testing
4. The Software Development Process - Testing4. The Software Development Process - Testing
4. The Software Development Process - Testing
Forrester High School
 
Agile QA and Testing process
Agile QA and Testing processAgile QA and Testing process
Agile QA and Testing process
Gloria Stoilova
 
Agile Testing: It's about time
Agile Testing: It's about timeAgile Testing: It's about time
Agile Testing: It's about time
Atlassian
 
Agile Process
Agile ProcessAgile Process
Agile Process
binto
 
The lifecycle of an agile sprint
The lifecycle of an agile sprintThe lifecycle of an agile sprint
The lifecycle of an agile sprint
Ron Shoshani
 
Role Of Qa And Testing In Agile 1225221397167302 8
Role Of Qa And Testing In Agile 1225221397167302 8Role Of Qa And Testing In Agile 1225221397167302 8
Role Of Qa And Testing In Agile 1225221397167302 8
a34sharm
 
Agile Process Introduction
Agile Process IntroductionAgile Process Introduction
Agile Process Introduction
Nguyen Hai
 
Test Process
Test ProcessTest Process
Test Process
tokarthik
 
Black box
Black boxBlack box
Black box
Aswanth Talaseela
 
Software Quality Assurance
Software Quality AssuranceSoftware Quality Assurance
Software Quality Assurance
lakshmi1693
 
Testing & Quality Assurance
Testing & Quality AssuranceTesting & Quality Assurance
Testing & Quality Assurance
Anand Subramaniam
 
Agile Testing: The Role Of The Agile Tester
Agile Testing: The Role Of The Agile TesterAgile Testing: The Role Of The Agile Tester
Agile Testing: The Role Of The Agile Tester
Declan Whelan
 
Software Testing Process & Trend
Software Testing Process & TrendSoftware Testing Process & Trend
Software Testing Process & Trend
KMS Technology
 
Agile Is the New Waterfall
Agile Is the New WaterfallAgile Is the New Waterfall
Agile Is the New Waterfall
Naresh Jain
 
Eleven step of software testing process
Eleven step of software testing processEleven step of software testing process
Eleven step of software testing process
Himanshu
 
Software Testing Process
Software Testing ProcessSoftware Testing Process
Software Testing Process
guest1f2740
 
Chapter 3 SOFTWARE TESTING PROCESS
Chapter 3 SOFTWARE TESTING PROCESSChapter 3 SOFTWARE TESTING PROCESS
Chapter 3 SOFTWARE TESTING PROCESS
st. michael
 
Reporting On The Testing Process
Reporting On The Testing ProcessReporting On The Testing Process
Reporting On The Testing Process
gavhays
 
4. The Software Development Process - Testing
4. The Software Development Process - Testing4. The Software Development Process - Testing
4. The Software Development Process - Testing
Forrester High School
 
Agile QA and Testing process
Agile QA and Testing processAgile QA and Testing process
Agile QA and Testing process
Gloria Stoilova
 
Agile Testing: It's about time
Agile Testing: It's about timeAgile Testing: It's about time
Agile Testing: It's about time
Atlassian
 
Agile Process
Agile ProcessAgile Process
Agile Process
binto
 
The lifecycle of an agile sprint
The lifecycle of an agile sprintThe lifecycle of an agile sprint
The lifecycle of an agile sprint
Ron Shoshani
 
Role Of Qa And Testing In Agile 1225221397167302 8
Role Of Qa And Testing In Agile 1225221397167302 8Role Of Qa And Testing In Agile 1225221397167302 8
Role Of Qa And Testing In Agile 1225221397167302 8
a34sharm
 
Agile Process Introduction
Agile Process IntroductionAgile Process Introduction
Agile Process Introduction
Nguyen Hai
 
Test Process
Test ProcessTest Process
Test Process
tokarthik
 
Software Quality Assurance
Software Quality AssuranceSoftware Quality Assurance
Software Quality Assurance
lakshmi1693
 
Agile Testing: The Role Of The Agile Tester
Agile Testing: The Role Of The Agile TesterAgile Testing: The Role Of The Agile Tester
Agile Testing: The Role Of The Agile Tester
Declan Whelan
 
Software Testing Process & Trend
Software Testing Process & TrendSoftware Testing Process & Trend
Software Testing Process & Trend
KMS Technology
 
Agile Is the New Waterfall
Agile Is the New WaterfallAgile Is the New Waterfall
Agile Is the New Waterfall
Naresh Jain
 
Ad

Similar to Software testing and process (20)

Hai
HaiHai
Hai
Naresh Raajan
 
Software Testing
Software TestingSoftware Testing
Software Testing
Sophia Girls' College(Autonomous), Ajmer
 
Testing Methodologies and Types (MCQ 12)
Testing Methodologies and Types (MCQ 12)Testing Methodologies and Types (MCQ 12)
Testing Methodologies and Types (MCQ 12)
dhanushitha
 
Testing Software
Testing SoftwareTesting Software
Testing Software
Sibel Kuzgun AKIN
 
Lesson 7...Question Part 1
Lesson 7...Question Part 1Lesson 7...Question Part 1
Lesson 7...Question Part 1
bhushan Nehete
 
Testing
Testing Testing
Testing
poojadatt
 
Chap1 Istqb presentation Foundation level in QA
Chap1 Istqb presentation Foundation level in QAChap1 Istqb presentation Foundation level in QA
Chap1 Istqb presentation Foundation level in QA
sree23411
 
Istqb v.1.2
Istqb v.1.2Istqb v.1.2
Istqb v.1.2
AnnaGodorogea
 
Testing Techniques.pptx
Testing Techniques.pptxTesting Techniques.pptx
Testing Techniques.pptx
GhulamAli103737
 
fundamentals of testing (Fundamental of testing what)
fundamentals of testing (Fundamental of testing what)fundamentals of testing (Fundamental of testing what)
fundamentals of testing (Fundamental of testing what)
diana fitri, S.Kom
 
Ôn tập kiến thức ISTQB
Ôn tập kiến thức ISTQBÔn tập kiến thức ISTQB
Ôn tập kiến thức ISTQB
Jenny Nguyen
 
Question ISTQB foundation 3
Question ISTQB foundation 3Question ISTQB foundation 3
Question ISTQB foundation 3
Jenny Nguyen
 
Quality assurance tests
Quality assurance testsQuality assurance tests
Quality assurance tests
amitzore
 
Software Testing
Software TestingSoftware Testing
Software Testing
Mata Gujri College, FatehGarh Sahib ( Harsimrat Deo )
 
Software unit4
Software unit4Software unit4
Software unit4
Himanshu Awasthi
 
SOFTWARE TESTING UNIT-4
SOFTWARE TESTING UNIT-4  SOFTWARE TESTING UNIT-4
SOFTWARE TESTING UNIT-4
Mohammad Faizan
 
T0 numtq0nje=
T0 numtq0nje=T0 numtq0nje=
T0 numtq0nje=
International Journal of Science and Research (IJSR)
 
Testing Slides 1 (Testing Intro+Static Testing).pdf
Testing Slides 1 (Testing Intro+Static Testing).pdfTesting Slides 1 (Testing Intro+Static Testing).pdf
Testing Slides 1 (Testing Intro+Static Testing).pdf
MuhammadShoaibHussai2
 
Qa Faqs
Qa FaqsQa Faqs
Qa Faqs
nitin lakhanpal
 
Real Time software Training in Nagercoil
Real Time software Training in NagercoilReal Time software Training in Nagercoil
Real Time software Training in Nagercoil
jclick2
 
Ad

Recently uploaded (20)

Generative AI & Large Language Models Agents
Generative AI & Large Language Models AgentsGenerative AI & Large Language Models Agents
Generative AI & Large Language Models Agents
aasgharbee22seecs
 
Frontend Architecture Diagram/Guide For Frontend Engineers
Frontend Architecture Diagram/Guide For Frontend EngineersFrontend Architecture Diagram/Guide For Frontend Engineers
Frontend Architecture Diagram/Guide For Frontend Engineers
Michael Hertzberg
 
Prediction of Flexural Strength of Concrete Produced by Using Pozzolanic Mate...
Prediction of Flexural Strength of Concrete Produced by Using Pozzolanic Mate...Prediction of Flexural Strength of Concrete Produced by Using Pozzolanic Mate...
Prediction of Flexural Strength of Concrete Produced by Using Pozzolanic Mate...
Journal of Soft Computing in Civil Engineering
 
Autodesk Fusion 2025 Tutorial: User Interface
Autodesk Fusion 2025 Tutorial: User InterfaceAutodesk Fusion 2025 Tutorial: User Interface
Autodesk Fusion 2025 Tutorial: User Interface
Atif Razi
 
DED KOMINFO detail engginering design gedung
DED KOMINFO detail engginering design gedungDED KOMINFO detail engginering design gedung
DED KOMINFO detail engginering design gedung
nabilarizqifadhilah1
 
Working with USDOT UTCs: From Conception to Implementation
Working with USDOT UTCs: From Conception to ImplementationWorking with USDOT UTCs: From Conception to Implementation
Working with USDOT UTCs: From Conception to Implementation
Alabama Transportation Assistance Program
 
How to Buy Snapchat Account A Step-by-Step Guide.pdf
How to Buy Snapchat Account A Step-by-Step Guide.pdfHow to Buy Snapchat Account A Step-by-Step Guide.pdf
How to Buy Snapchat Account A Step-by-Step Guide.pdf
jamedlimmk
 
Design of Variable Depth Single-Span Post.pdf
Design of Variable Depth Single-Span Post.pdfDesign of Variable Depth Single-Span Post.pdf
Design of Variable Depth Single-Span Post.pdf
Kamel Farid
 
Interfacing PMW3901 Optical Flow Sensor with ESP32
Interfacing PMW3901 Optical Flow Sensor with ESP32Interfacing PMW3901 Optical Flow Sensor with ESP32
Interfacing PMW3901 Optical Flow Sensor with ESP32
CircuitDigest
 
twin tower attack 2001 new york city
twin  tower  attack  2001 new  york citytwin  tower  attack  2001 new  york city
twin tower attack 2001 new york city
harishreemavs
 
Computer Security Fundamentals Chapter 1
Computer Security Fundamentals Chapter 1Computer Security Fundamentals Chapter 1
Computer Security Fundamentals Chapter 1
remoteaimms
 
Agents chapter of Artificial intelligence
Agents chapter of Artificial intelligenceAgents chapter of Artificial intelligence
Agents chapter of Artificial intelligence
DebdeepMukherjee9
 
6th International Conference on Big Data, Machine Learning and IoT (BMLI 2025)
6th International Conference on Big Data, Machine Learning and IoT (BMLI 2025)6th International Conference on Big Data, Machine Learning and IoT (BMLI 2025)
6th International Conference on Big Data, Machine Learning and IoT (BMLI 2025)
ijflsjournal087
 
Mode-Wise Corridor Level Travel-Time Estimation Using Machine Learning Models
Mode-Wise Corridor Level Travel-Time Estimation Using Machine Learning ModelsMode-Wise Corridor Level Travel-Time Estimation Using Machine Learning Models
Mode-Wise Corridor Level Travel-Time Estimation Using Machine Learning Models
Journal of Soft Computing in Civil Engineering
 
sss1.pptxsss1.pptxsss1.pptxsss1.pptxsss1.pptx
sss1.pptxsss1.pptxsss1.pptxsss1.pptxsss1.pptxsss1.pptxsss1.pptxsss1.pptxsss1.pptxsss1.pptx
sss1.pptxsss1.pptxsss1.pptxsss1.pptxsss1.pptx
ajayrm685
 
Lecture - 7 Canals of the topic of the civil engineering
Lecture - 7  Canals of the topic of the civil engineeringLecture - 7  Canals of the topic of the civil engineering
Lecture - 7 Canals of the topic of the civil engineering
MJawadkhan1
 
Machine Learning basics POWERPOINT PRESENETATION
Machine Learning basics POWERPOINT PRESENETATIONMachine Learning basics POWERPOINT PRESENETATION
Machine Learning basics POWERPOINT PRESENETATION
DarrinBright1
 
PRIZ Academy - Functional Modeling In Action with PRIZ.pdf
PRIZ Academy - Functional Modeling In Action with PRIZ.pdfPRIZ Academy - Functional Modeling In Action with PRIZ.pdf
PRIZ Academy - Functional Modeling In Action with PRIZ.pdf
PRIZ Guru
 
JRR Tolkien’s Lord of the Rings: Was It Influenced by Nordic Mythology, Homer...
JRR Tolkien’s Lord of the Rings: Was It Influenced by Nordic Mythology, Homer...JRR Tolkien’s Lord of the Rings: Was It Influenced by Nordic Mythology, Homer...
JRR Tolkien’s Lord of the Rings: Was It Influenced by Nordic Mythology, Homer...
Reflections on Morality, Philosophy, and History
 
ML_Unit_VI_DEEP LEARNING_Introduction to ANN.pdf
ML_Unit_VI_DEEP LEARNING_Introduction to ANN.pdfML_Unit_VI_DEEP LEARNING_Introduction to ANN.pdf
ML_Unit_VI_DEEP LEARNING_Introduction to ANN.pdf
rameshwarchintamani
 
Generative AI & Large Language Models Agents
Generative AI & Large Language Models AgentsGenerative AI & Large Language Models Agents
Generative AI & Large Language Models Agents
aasgharbee22seecs
 
Frontend Architecture Diagram/Guide For Frontend Engineers
Frontend Architecture Diagram/Guide For Frontend EngineersFrontend Architecture Diagram/Guide For Frontend Engineers
Frontend Architecture Diagram/Guide For Frontend Engineers
Michael Hertzberg
 
Autodesk Fusion 2025 Tutorial: User Interface
Autodesk Fusion 2025 Tutorial: User InterfaceAutodesk Fusion 2025 Tutorial: User Interface
Autodesk Fusion 2025 Tutorial: User Interface
Atif Razi
 
DED KOMINFO detail engginering design gedung
DED KOMINFO detail engginering design gedungDED KOMINFO detail engginering design gedung
DED KOMINFO detail engginering design gedung
nabilarizqifadhilah1
 
How to Buy Snapchat Account A Step-by-Step Guide.pdf
How to Buy Snapchat Account A Step-by-Step Guide.pdfHow to Buy Snapchat Account A Step-by-Step Guide.pdf
How to Buy Snapchat Account A Step-by-Step Guide.pdf
jamedlimmk
 
Design of Variable Depth Single-Span Post.pdf
Design of Variable Depth Single-Span Post.pdfDesign of Variable Depth Single-Span Post.pdf
Design of Variable Depth Single-Span Post.pdf
Kamel Farid
 
Interfacing PMW3901 Optical Flow Sensor with ESP32
Interfacing PMW3901 Optical Flow Sensor with ESP32Interfacing PMW3901 Optical Flow Sensor with ESP32
Interfacing PMW3901 Optical Flow Sensor with ESP32
CircuitDigest
 
twin tower attack 2001 new york city
twin  tower  attack  2001 new  york citytwin  tower  attack  2001 new  york city
twin tower attack 2001 new york city
harishreemavs
 
Computer Security Fundamentals Chapter 1
Computer Security Fundamentals Chapter 1Computer Security Fundamentals Chapter 1
Computer Security Fundamentals Chapter 1
remoteaimms
 
Agents chapter of Artificial intelligence
Agents chapter of Artificial intelligenceAgents chapter of Artificial intelligence
Agents chapter of Artificial intelligence
DebdeepMukherjee9
 
6th International Conference on Big Data, Machine Learning and IoT (BMLI 2025)
6th International Conference on Big Data, Machine Learning and IoT (BMLI 2025)6th International Conference on Big Data, Machine Learning and IoT (BMLI 2025)
6th International Conference on Big Data, Machine Learning and IoT (BMLI 2025)
ijflsjournal087
 
sss1.pptxsss1.pptxsss1.pptxsss1.pptxsss1.pptx
sss1.pptxsss1.pptxsss1.pptxsss1.pptxsss1.pptxsss1.pptxsss1.pptxsss1.pptxsss1.pptxsss1.pptx
sss1.pptxsss1.pptxsss1.pptxsss1.pptxsss1.pptx
ajayrm685
 
Lecture - 7 Canals of the topic of the civil engineering
Lecture - 7  Canals of the topic of the civil engineeringLecture - 7  Canals of the topic of the civil engineering
Lecture - 7 Canals of the topic of the civil engineering
MJawadkhan1
 
Machine Learning basics POWERPOINT PRESENETATION
Machine Learning basics POWERPOINT PRESENETATIONMachine Learning basics POWERPOINT PRESENETATION
Machine Learning basics POWERPOINT PRESENETATION
DarrinBright1
 
PRIZ Academy - Functional Modeling In Action with PRIZ.pdf
PRIZ Academy - Functional Modeling In Action with PRIZ.pdfPRIZ Academy - Functional Modeling In Action with PRIZ.pdf
PRIZ Academy - Functional Modeling In Action with PRIZ.pdf
PRIZ Guru
 
ML_Unit_VI_DEEP LEARNING_Introduction to ANN.pdf
ML_Unit_VI_DEEP LEARNING_Introduction to ANN.pdfML_Unit_VI_DEEP LEARNING_Introduction to ANN.pdf
ML_Unit_VI_DEEP LEARNING_Introduction to ANN.pdf
rameshwarchintamani
 

Software testing and process

  • 2. Various types of testing in a Software..  Testing Concepts  Testing Process  Black-Box Testing  White-Box Testing  Metrics Testing 2
  • 3. Testing Concepts…  Error, Fault and Failure  Test Case, Test Suite and Test Harness  Psychology of Testing  Level of Testing 3
  • 4.  Error refers to the discrepancy between a computed value and the true, or theoretically correct value.  It is the difference between the actual output of a software and the correct output.  Error is also used to refer to human action that results in software containing a defect or fault 4
  • 5.  Fault is a condition that causes a system to fail in performing its required function.  A fault is the basic reason for software malfunction and is practically synonymous with the commonly used term bug, or the somewhat more general term defect.  Failure is the inability of a system or component to perform a required function according to its specifications.  A software failure occurs if the behaviour of the software is different from the specified behaviour.  Failures may be caused by functional or performance factors. 5
  • 6.  Presence of an error (in the state) implies that a failure must have occurred, and the observance of a failure implies that a fault must be present in the system.  However, the presence of a fault does not imply that a failure must occur. The presence of a fault in a system only implies that the fault has a potential to cause a failure. 6
  • 7. Test Case, Test Suite, and Test Harness  A test case (often called a test) can be considered as comprising a set of test inputs and execution conditions, which are designed to exercise the SUT(software under testing) in a particular manner.  A test case also specifies the expected outcome from executing the SUT under the specified execution conditions and test inputs.  A testing framework is also sometimes called a test harness. A test harness or a test framework makes the life of a tester simpler by providing easy means of defining a test suite, executing it, and reporting the results. 7
  • 8.  There is another level of testing, called regression testing.  It is performed when some changes are made to an existing system.  Besides ensuring the desired behaviour of the new services, testing has to ensure that the desired behaviour of the old services is maintained.  Complete regression testing of large systems can take a considerable amount of time, even if automation is used. 8
  • 9. Psychology of Testing  There are a number of heuristics and rules of thumb for deciding the test cases, selecting test cases is still a creative activity that relies on the ingenuity of the tester.  Because of this, the psychology of the person performing the testing becomes important 9
  • 10. Levels of Testing  Testing detect the faults remaining from earlier stages, in addition to the faults introduced during coding itself.  At each level of testing aims to test different aspects of the system.  The basic levels are attempt to detect different types of faults. 10
  • 11.  The first level of testing is called unit testing, it is essentially for verification of the code produced by individual programmers.  Then next level of testing is called integration testing. Many unit tested modules are combined into subsystems, which are then tested.  The goal here is to see if the modules can be integrated properly. 11
  • 12.  In System testing and acceptance testing the entire software system is tested.  The goal is to see if the software meets its requirements.  This is often a large exercise, which for large projects may last many weeks or months.  Acceptance testing is often performed with realistic data of the client to demonstrate that the software is working satisfactorily.  Acceptance testing tests if the system satisfactorily solves the problems for which it was commissioned. 12
  • 13. Testing Process…  Testing is a quality control activity which focuses on identifying defects (which are then removed).  For each software unit testing, the test cases will have to be designed and then executed. Overall, testing in a project is a complex task which also consumes the maximum effort. Hence, testing has to be done properly in a project  The testing process for a project consists of three high-level tasks—  Test planning,  Test case design,  Test execution. 13
  • 14.  Test case design is a major activity in the testing process. Careful selection of test cases that satisfy the criterion and approach specified is essential for proper testing  Another reason for specifying the test cases in a document or a script is that by doing this, the tester can see the testing of the unit in totality and the effect of the total set of test cases. This type of evaluation is hard to do in on-the-fly testing where test cases are determined as testing proceeds. It also allows optimizing the number of test cases as evaluation of the test suite may show that some test cases are redundant 14
  • 15.  In a project, testing commences with a test plan and terminates with successful execution of acceptance testing.  A test plan is a general document for the entire project that defines the scope, approach to be taken, and the schedule of testing, as well as identifies the test items for testing and the personnel responsible for the different activities of testing.  The test planning can be done well before the actual testing commences and can be done in parallel with the coding and design activities. The inputs for forming the test plan are:  Project plan,  Requirements document  Architecture or design document.  A test plan should contain the following:  Test unit specification – Features to be tested – Approach for testing – Test deliverables – Schedule and task allocation 15
  • 16. Test Plan and Design  The test plan focuses on how the testing for the project will proceed, which units will be tested, and what approaches (and tools) are to be used during the various stages of testing.  Test case design has to be done separately for each unit. Based on the approach specified in the test plan, and the features to be tested, the test cases are designed and specified for testing the unit.  In a round of testing, the outcome of all the test cases is recorded (i.e., pass or fail). 16
  • 17. Test Case Execution  With the specification of test cases, the next step in the testing process is to execute them  Executing the test cases may require construction of driver modules or stubs. It may also require modules to set up the environment as stated in the test plan and test case specifications. Only after all these are ready can the test cases be executed.  During test case execution, defects are found. These defects are then fixed and tesing is done again to verify the fix. To facilitate reporting and tracking of defects found during testing (and other quality control activities), defects found are often logged.  During test case execution, defects are found. These defects are then fixed and tesing is done again to verify the fix. To facilitate reporting and tracking of defects found during testing (and other quality control activities), defects found are often logged.  Defect logging and tracking is considered one of the best practices for managing a project , and is followed by most software organizations. 17
  • 18.  There are some good reasons why test cases are specified before they are used for testing. It is known that testing has severe limitations and the effectiveness of testing depends very heavily on the exact nature of the test cases. It is therefore important to ensure that the set of test cases used is of high quality.  a formal document or work product is needed, for review of test cases, the test case specification document is required. This is the primary reason for documenting the test cases. 18
  • 19.  A defect can be found by anyone at anytime. When a defect is found, it is logged in a defect control system, along with sufficient information about the defect.  The defect is then in the state “submitted,”  Now The assigned person does the debugging and fixes the reported defect.  Then defect enters the “fixed” state. However, a defect that is fixed is still not considered as fully done. 19
  • 20.  The successful fixing of the defect is verified. This verification may be done by another person (often the submitter), or by a test team, and typically involves running some tests.  Once the defect fixing is verified, then the defect can be marked as “closed.” In other words, the general life cycle of a defect has three states—submitted, fixed, and closed, A defect that is not closed is also called open.  Besides using the log for tracking defects, the data in the log can also be used for analysis purposes 20
  • 21.  The successful fixing of the defect is verified. This verification may be done by another person (often the submitter), or by a test team, and typically involves running some tests. Once the defect fixing is verified, then the defect can be marked as “closed.”  In other words, the general life cycle of a defect has three states—submitted, fixed, and closed, A defect that is not closed is also called open.  Besides using the log for tracking defects, the data in the log can also be used for analysis purposes 21
  翻译: