Software Testing

You might also like

Download as pptx, pdf, or txt
Download as pptx, pdf, or txt
You are on page 1of 15

Software Testing

Test Cases
Software Testing

• Software Testing is a method to check whether the


actual software product matches expected
requirements and to ensure that software product
is Defect free.
• The purpose of software testing is to identify errors,
gaps or missing requirements in contrast to actual
requirements.
Why Software Testing is Important

• Software Testing is Important because if there


are any bugs or errors in the software, it can
be identified early and can be solved before
delivery of the software product.
• Properly tested software product ensures
reliability, security and high performance
which further results in time saving, cost
effectiveness and customer satisfaction.
Black Box Testing
• It is also know as behavioral ,Opaque-box,
closed box, specification-based or eye to eye
testing.
• It is software testing method that analyze the
functionality of a software/application without
knowing much about the internal
structure/design of the item that is being
tested and compare the input value with the
output value.
Types of Black box Testing:

• Function testing: Function testing is a kind of

black-box testing that is performed to confirm

that the functionality of an application or

system is behaving as expected.


Functional Requirement Techniques
• Therefore , functionality testing can be
carries out via two popular techniques:
• Testing based on Requirements : Contain
all the functional specifications which form
a basis for all the tests to be conducted.
• Testing based on Business scenarios :
Contain the information about how the
system will be perceived from a business
process perspective.
Types of Black box Testing
• Non-functional Testing is done to verify
the non-functional requirement of the
application like Performance, Usability,
etc.
• It verifies if the behavior of the system is
as per the requirement or not.
• It cover all the aspects which are not
covered in functional testing.
Functional testing Techniques
• Equivalence Class Testing: It is used to minimize the number
of possible test cases to an optimum level while maintains
reasonable test coverage.
• Boundary Value Testing : Boundary value testing is focused on
the values at boundaries. This technique determines a certain
range of values are acceptable by the system or not. It is very
useful in reducing the number of test cases.
• It is most suitable for the systems where an input is within
certain ranges.
• Decision Table Testing: Decision Table Testing is a Black box
test design technique (behavioral 0r behavior based
technique) , used where different combination of test input
conditions result in different outcomes.
Equivalence Partitioning:
• This technique is also know as Equivalence
Class Partitioning (ECP).
• In this technique, input value to the system or
application are divided into different classes or
groups based on its similarity in the outcome.

Invalid Partition Valid Partition Invalid Partition

0 1-1000 1001 or more


Equivalence Partitioning:
• Example:
Boundary Value Analysis
• Boundary means the values near the limit
where the behavior of the system cahnge.In
boundary value analysis both the valid inputs
and invalid inputs being tested to verify the
issue.
Boundary Value Analysis
Boundary Value Analysis
Decision Table Testing
Business Rules:
• On enterng correct combination of ID &
Password, user should be able to login
successfully.
• User is not allowed again to login when
any or both of the ID & Password are
incorrect/blank.In such cases, it should
show "Invalid Credentails" message.
Decision Table testing

You might also like