Week 8- Test_Management
Week 8- Test_Management
Week 8
Objective
• Remember, the objective of testing will vary
depending on context:
• The kinds of information you are looking for will change during
the lifecycle of a project:
• The kinds of information you are looking for will change during
the lifecycle of the software product itself, e.g.:
Key Elements:
• Test Organization: Defines roles and responsibilities within a structured testing team to
• Test Planning: Establishes a detailed approach to testing, including identifying test items,
• Detailed Test Design: Specifies test cases and test procedures required for comprehensive
• Test Monitoring & Assessment: Ensures the testing process aligns with project goals by
• Product Quality Assurance: Maintains high software quality by overseeing testing activities
Test Organization
• What is it?
• A structured approach to managing software testing, ensuring
systematic coverage and efficiency.
• Key Responsibilities:
• Establishing the test framework and defining explicit roles for test
execution.
• Developing testing policies and applying standards to maintain
consistency.
• Setting up and maintaining a test environment suitable for project
requirements.
• Importance:
• Facilitates seamless collaboration between testing teams and
developers.
• Reduces testing inefficiencies and improves software quality.
Test Planning
• Key Components:
• Identifying critical software functionalities that require testing.
• Outlining the scope of testing to define what is included and excluded.
• Preparing a detailed test plan and timeline to ensure timely execution.
• Assigning testing responsibilities to various team members.
• Why is it necessary?
• Helps mitigate risks by proactively identifying potential issues.
• Ensures resources are allocated efficiently for optimal test coverage.
Detailed Test Design & Specifications
• Purpose:
• Develops structured and repeatable test cases to validate software
functionality.
• Components:
• Requirement traceability to ensure test cases cover all functional
requirements.
• Well-defined test cases that specify inputs, expected outputs, and
execution conditions.
• Test execution procedures to outline how testing should be performed
systematically.
• Outcome:
• Ensures thorough testing coverage and consistency across multiple test
cycles.
Test Monitoring & Assessment
• Key Tasks:
• Reviewing and analyzing test reports for accuracy and completeness.
• Assessing the integrity of the software configuration and changes.
• Validating that software functionality meets business requirements
through structured testing.
• Why is it important?
• Detects testing bottlenecks and inefficiencies.
• Helps improve overall software reliability and defect tracking.
Product Quality Assurance
• Objective:
• To confirm that software meets predefined quality standards before
deployment.
• Responsibilities:
• Supervising test execution to ensure compliance with best practices.
• Participating in review meetings to refine the testing process.
• Approving release and deployment only when all quality criteria are met
Test Organization
• Test Leader:
• Assigns tasks, supervises engineers, and ensures proper test execution.
• Test Engineers:
• Design, implement, and execute test cases to verify software
functionality.
• Junior Test Engineers:
• Support senior engineers, execute predefined test cases, and document
Test Planning
• A test plan is defined as a document that describes the scope, approach,
resources, and schedule of intended testing activities.
• In order to meet a set of goals, the test plan identifies the following:
• Test items
• Features to be tested
• Testing tasks
• Tools selection
• Time and effort estimate
• Who will do each task
• Any risks
• Milestones
Test Plan Component
IEEE Std 829–1983 has described the test plan components. These components (see Fig.
below) must appear for every test item. These components are described below.
Test Plan Components
• At the top of the plan hierarchy is a master plan which gives an overview of all
verification and validation activities for the project, as well as details related to other
quality issues such as audits, standards, and configuration control.
• Below the master test plan, there is individual planning for each activity in
verification and validation, as shown in Fig. in slide 21.
• The test plan at each level of testing must account for information that is specific to
that level, e.g. risks and assumptions, resource requirements, schedule, testing
strategy, and required skills.
Test Plan Hierarchy
The test plans according to
each level are written in an
order such that the plan
prepared first is executed
last, i.e. the acceptance
test plan is the first plan to
be formalized but is
executed last.
The reason for its early
preparation is that the
things required for its
completion are available
first.
Master Test Plan
• Purpose:
• Serves as the high-level document governing all test
activities.
• Steps:
• Define scope, goals, and objectives of testing.
• Identify necessary testing resources, tools, and personnel.
• Develop a structured schedule to ensure efficient test
execution.
• Evaluate risks and define mitigation strategies.
Verification Test Plan
1. Testing techniques
2. Testing tools
3. Support software and documents
4. Configuration management
5. Risks associated, such as budget, resources, schedule, and training.
Unit Test Plan
• Purpose:
• Validates that individual software modules function
correctly.
• Goal:
• Ensures that individual software modules work correctly
when integrated.
• Tasks:
• Identifying and mapping interactions between different
components.
• Designing interface-specific test cases.
• Developing necessary stubs and drivers to simulate
missing components
Questions
• System Testing:
• Validates the complete software system’s performance,
security, and scalability.
• Acceptance Testing:
• Confirms that the software meets all user requirements
before deployment.
• Defines clear pass/fail acceptance criteria to measure
readiness.
Test Estimation
• Purpose:
• Estimate the effort, time, and resources required for testing.
• Techniques:
• Work Breakdown Structure (WBS): Breaks testing tasks into smaller
components.
• Expert Judgment: Uses the experience of senior testers.
• Historical Data: Uses data from previous projects.
• Delphi Technique: Consensus-based estimation.
• Purpose:
• Track progress and ensure testing stays on track.
• Key Activities:
• Monitor Test Execution Progress: Track the execution of test cases.
• Track Defects: Monitor the status of defects.
• Compare Actual Progress with Plan: Ensure testing is on schedule.
• Take Corrective Actions: Address deviations from the plan.
• Metrics Used:
• Test Case Execution Rate: Percentage of test cases executed.
• Defect Detection Rate: Number of defects found.
• Test Coverage: Percentage of requirements covered by tests.
Test Execution & Reporting
• Test Execution:
• Execute test cases as per the test plan.
• Log results (Pass/Fail).
• Defect Management:
• Defect Lifecycle: New → Assigned → Open → Fixed →
Retest → Closed.
• Defect Reporting: Include severity, priority, steps to
reproduce, and screenshots.
• Key Activities:
• Ensure all test cases are executed.
• Verify all defects are resolved.
• Prepare test summary report.
• Document lessons learned.
• Popular Tools:
• TestRail: Test case management.
• Jira: Defect tracking and project management.
• Zephyr: Test management plugin for Jira.
• qTest: End-to-end test management.
• Traceability Matrix:
• Maps requirements to test cases.
• Ensures all requirements are covered.
• Components:
• Test Case Specification Identifier: Unique identifier for
the test case.
• Purpose: Purpose of the test case.
• Test Items Needed: References to related documents.
• Special Environmental Needs: Hardware, software, or
tools required.
• Input Specifications: Input values for the test case.
• Test Procedure: Steps to execute the test case.
• Output Specifications: Expected output values.
Test Procedure Specifications
• Purpose:
• Define the sequence of steps to execute a test case.
• Components:
• Test Procedure Identifier: Unique identifier for the test
procedure.
• Purpose: Purpose of the test procedure.
• Steps to Execute the Test: Detailed steps to execute the
test.
• Expected Results: Expected outcomes of the test.
Test Result Specifications
• Test Log:
• Record of testing events.
• Test Incident Report:
• Report unexpected events during testing.
• Test Summary Report:
• Summary of all tests executed.
Questions ?
1. What are test deliverables, and why are they necessary in the test
management process?
4. What challenges might arise in test reporting, and how can they be
addressed?
Test Strategy
• Things to consider:
• Project Environment
• Product Elements
• Quality Criteria
• We differentiate between:
• Project risks (risks that can affect the project)
• Quality risks (risks that can affect the quality of the software
we are testing)
Control Analysis
Traditionally, these could be:
•Mitigate – do something to reduce the probability or impact
•Contingency – make a plan for the risk occuring
•Transfer – accept the risk and pass it on to another party (insurance is an
example)
•Ignore – accept the risk and do nothing
• The V Model:
User Acceptance
Requirements Test
System System
Requirements Test
Conceptual Integration
Design Test
Detailed
Unit Test
Design
Implementation
Process Models
• Only by varying the tests performed will the missed bugs be found
• Don’t confuse repeatability and reproducibility
Controversies: Scripting
• But…
Controversies: Automation