ST Unit-3
ST Unit-3
Presented by,
Bheema Shireesha
Assistant
Professor,
IIIT Ongole,
RGUKT-AP
Test Case Design
Test case design refers to how you set-up your test cases.
Designing good test cases ensure that every aspect of your
software gets tested so that you can find and fix any issues.
Unit -III
cases.
unrealistic.
The smart tester must plan for testing, select the test cases, and monitor the
process to insure that the resources and time allocated for the job are utilized
effectively
- Test case design refers to how you set-up your test cases. it is important
that your tests are designed well , or you could fail to identify bugs and
defects in your software during testing.
Designing good test cases ensure that every aspect of your software gets
tested so that you can find and fix any issues.
A basic example of test case design
Preconditions: User must already be registered and use their correct login
details.
3. Click “Login”
A test case has components that describe input action and an expected
correctly.
and features of the software with the help of effective test cases.
The test case design techniques are broadly classified into three
major categories.
2.White box Test (or) sometimes called clear or glass box test
its internal workings. A tester provides an input, and observes the output
- This makes it possible to identify how the system responds to expected and
unexpected user actions, its response time, usability issues and reliability issues.
system end-to-end. Just like end-users “don’t care” how a system is coded or
tester can simulate user activity and see if the system delivers on its promises.
It is a Software Testing method that analyses the functionality of a
software /application without knowing much about the internal
structure/design of the item that is being tested and compares the input value
with the output value.
The main focus in Black Box Testing is on the
functionality of the system as a whole.
- The term ‘Behavioral Testing’ is also used for Black Box
Testing.
- Behavioral test design is slightly different from the black-
box test design because the use of internal knowledge isn’t
strictly forbidden, but it’s still discouraged.
- Each testing method has its own advantages and
disadvantages.
- There are some bugs that cannot be found using the only
black box or only white box technique.
- Majority of the applications are tested by Black Box
method. - We need to cover the majority of test cases so that
most of the bugs will get discovered by a Black-Box method.
- This testing occurs throughout the software development
and Testing Life Cycle
Black box test design technique:
- Unit Testing
- Integration Testing
- System Testing
- Acceptance Testing
- Regression Testing stages
Types Of Black Box Testing
- Functional testing
- Non - Functional testing
- Regression Testing
Functional Testing
Deals with the functional requirements or
specifications of an application. Here, different actions or
functions of the system are being tested by providing the
input and comparing the actual output with the expected
output.
For Example:
when we test a Dropdown list, we click on it and verify
that it expands and all the expected values are showing in
the list.
Few major types of Functional Testing are:
• Smoke Testing
• Sanity Testing
• Integration Testing
• System Testing
• Regression Testing
• User Acceptance Testing
Non-Functional Testing
Apart from the functionalities of the requirements,
there are several non-functional aspects as well that are
required to be tested to improve the quality and performance
of the application.
• Usability Testing
• Load Testing
• Performance Testing
• Compatibility Testing
• Stress Testing
• Scalability Testing
Regression testing
A black box testing will not consider the specifications of the code, and it will
test the valid username and password to login to the right account.
This form of testing technique will check the input and output.
For example,
user might enter the password in the wrong format, and a
user might not receive an error message on entering an incorrect
password.
Various approaches to black-box testing
Documentation Testing: In this approach, a tester purely checks the input and
output of the software. Testers consider what system should perform rather
than how. It is a manual approach to testing.
Black Box Testing Techniques