3.test Cases and Test Plan
3.test Cases and Test Plan
• Follow the eight steps below to create a test plan as per IEEE 829
1.Analyze the product
2.Design the Test Strategy
3.Define the Test Objectives
4.Define Test Criteria
5.Resource Planning
6.Plan Test Environment
7.Schedule & Estimation
8.Determine Test Deliverables
• 1. Research and analyze the software
• Before you create a test plan, take some time to study the software and research the type
of people most likely to use it. This can reveal how the end user plans to interact with the
product, which may help you determine the functionalities the team needs to test. It's also
helpful to consider the client's expectations and requirements for the end product so that
you can include those specifications in the test plan.
• The product under test is banking website. You should research clients and the end users
to know their needs and expectations from the application
• Who will use the website?
• For what it is used for?
• How will it work?
• What are software/ hardware the product uses?
• You can use the following approach to analyze the site
•
• You should take a look around this website and also review product
documentation.
• Review of product documentation helps you to understand all the features
of the website as well as how to use it. If you are unclear on any items, you
might interview customer, developer, designer to get more information.
• 2) Develop Test Strategy
• A test strategy details the testing objectives, ways to achieve those goals
and the overall cost associated with testing.
• In this step, it's helpful to identify which type of testing suits the product
or feature your team plans to assess .
• There are many types of testing in software development, including unit,
system and Agile testing methods.
• While each type of test assesses different components of the software,
they all seek to identify and address programming issues before the
software reaches the end user.
• Test Strategy is a critical step in making a Test Plan in Software
Testing. A Test Strategy document, is a high-level document, which
is usually developed by Test Manager. This document defines:
• The project’s testing objectives and the means to achieve them
• Determines testing effort and costs.
• Before the start of any test activity, scope of the testing should be
known. You must think hard about it.
• The components of the system to be tested (hardware, software,
middleware, etc.) are defined as “in scope“
• The components of the system that will not be tested also need to
be clearly defined as being “out of scope.”
• Give everyone a confidence & accurate information of the testing
you are doing
• All project members will have a clear understanding about what is
tested and what is not
• Type of Testing: Describes the types of tests to be used in the project.
This is necessary since each test identifies specific types of bugs.
• Risks and Issues: Describes all possible risks that may occur during
testing -right deadlines, insufficient management, inadequate or
erroneous budget estimate-as well as the effect of these risks on the
product or business.
• Test Logistics: Mentions the names of testers (or their skills) as well as
the tests to be run by them. This section also includes the schedule
laid out for testing and required tools.
3. Defining Objectives
• In this step, we define the goals and expected results of test
execution. Test objective is the overall goal and achievement of the
test execution.
• The objects must include:
✓ A list of all software features - functionality, GUI, performance
standards- that must be tested.
✓ The ideal result or benchmark for every aspect of the software
that needs testing. This is the standard to which all actual results will
be compared with the expected results.
4. Establish Test Criteria
• Test criteria denote to standards or rules governing all activities in a testing
project. The two main test criteria are:
➢ Suspension Criteria: Defines the benchmarks for suspending all tests.
For example, if QA team members find that 50% of all test cases have
failed, then all testing is suspended until the developers resolve all of the
bugs that have been identified so far.
➢ Exit Criteria: Defines the benchmarks that signify the successful
completion of a test phase or project. The exit criteria are the expected
results of tests and must be met before moving on to the next stage of
development. For example, 80% of all test cases must be marked successful
before a particular feature or portion of the software can be considered
suitable for public use.
5. Planning Resource Allocation
• Resource planning includes all types of resources required to
complete project.
• This step creates a detailed breakdown of all required resources for
project completion.
• Resources include human effort, equipment, and all infrastructures
required for accurate and comprehensive testing.
• This also helps test managers to formulate a correctly calculated
schedule and estimation for the project.
6. Planning Setup of Test Environment
• This step refers to software and hardware setup on which software
testing team run their tests.
• Ideally, test environments should be real devices so that testers can
monitor software behavior in real user conditions.
• Whether it is manual testing or automation testing, nothing beats real
devices, installed with real browsers and operating systems.
7. Determining Test Schedule and Estimation
• Break down the project into smaller tasks and allocate time and effort
required for each activity. Then, prepare a schedule to complete
these tasks in the designated time with the specific amount of effort.
Creating the schedule, however, does require input from multiple
perspectives:
• Employee availability, number of working days, project deadlines,
daily resource availability.
• Risks associated with the project which has been evaluated in an
earlier stage
8. Establish Test Deliverables
• Test deliverables imply a list of documents, tools and other equipment that
must be created, provided, and maintained to support testing activities in a
project.
• A different set of deliverables is required before, during and after testing.
These deliverables are given below:
• Deliverables required before testing include Test Plan and Test Design.
• Deliverables required during testing include Test Scripts, Simulators or
Emulators in early stages), Test Data, Error and execution logs.
• Deliverables required after testing include Test Results, Defect Reports and
Release Notes
3.1.2 Test Plan Template
• Test Plan Template is a detailed document that describes the test
strategy, objectives, schedule, estimation and deliverables, and
resources required for testing.
• Test Plan helps us to determine the effort needed to validate the
quality of the application under test.
• The test plan serves as a blueprint to conduct software testing
activities as a defined process which is minutely monitored and
controlled by the test manager.
• Creating a Test Plan is mandatory to ensure success of your
Software testing project
3.1.2 Test Plan Template
• Test plan format/template has following fields
• 1. Test Plan Identifier: Uniquely identifies the test plan and may
include version/release number of the document.
• 2. Introduction: A brief introduction about the project and to the
document.
• 3. Purpose: It defines the purpose of the test plan.
• 4. Objectives and Tasks: Objectives describes the objectives of test
plan like goal of project, resource factors, project scheduling
constraints, quality and cost factors. Tasks lists all tasks identified by
the test plan like problem reporting, post-testing etc.
• 5. Scope: It defines the features, functional or non-functional
requirements of software that will be tested.
• 6. Testing Strategy: It describes overall approach to testing.
• 7. Test Items: A test item is a software item that is the application
under test.
• 8. Software Risk Issues: Software project risks and assumptions.
• 9. Features to be tested: A feature that needs to tested on the test
ware.
• 10. Features not to be tested: Identify the features and the reasons
for not includes as part of testing.
• 16. Environmental Needs: Defining the environmental requirements such a
hardware, software, OS, network configurations, tools required.
• 17. Staffing and Training Needs: Captures the actual staffing requirements
and any specific skills and training requirements.
• 18. Responsibilities: Lists the roles and responsibilities of the team
members.
• 19. Schedule: States the important project delivery dates and key
milestones.
• 20. Planning Risks and Contingencies: Planning for risks and contingencies.
• 21. Approvals: Captures all approvers of the document, their titles and the
sign off date. All the individuals and parties directly and indirectly
associated with the testing process give their agreements in the form of
signed approvals.
• 22. Glossary: Summary or definitions that are used in testing.
Writing Test Cases
• A test case refers to the sequence of actions required to verify a
specific feature or functionalities.
Objective of Writing Test Cases:
• 1. To validate specific features and functions of the software.
• 2. To guide testers through their day-to-day hands-on activity.
• 3. To provide a blueprint for future projects.
• 4. To help detect usability issues and design gaps early on.
The steps for writing test cases
• Step 1: Review the Requirements
• Step 2: Write a Test Plan: A software test plan is a document that describes the
objectives, scope, approach and focus of a software testing effort.
• Step 3: Identify the Test Suite: A test suite, is known as a validation suite, is a collection
of test cases that are intended to be used as input to a software program to show that it
has some specified set of behaviors. Test suites are used to group similar test cases
together.
• Step 4: Name the Test Cases: A name of each test case should be a short phrase
describing a general test situation. Use distinct test cases when different steps will be
needed to test each situation.
• Step 5: Write Test Case Descriptions and Objectives: For each test case, write one or
two sentences describing its purpose and objectives
• Step 6: Create the Test Cases: Next step is to write the test case steps and specify test
data.
• Step 7: Review the Test Cases: The main reason of the reviewing test cases is to increase
test coverage and therefore software product quality
Test Cases for ATM