3CS510IC24 - STQA Minor Lect-5
3CS510IC24 - STQA Minor Lect-5
Quality Assurance
Lecture-4 Odd Sem 24-25
5th Semester – Minor Course
Prof. Daiwat Vyas
Disclaimer
• The content in the ppt is taken from various online sources and reference books
and after referring it was considered for including it in the ppt slides.
Topics to be covered
• Test Planning and Design
• CLO-4. design project test plans, test cases, and test data to conduct test
operations (BL6)
SLO’s
• SLO-1. Understand the components of test planning and designUnderstand the
various white box testing techniques and their applications.
• Definition: The process of establishing the scope, approach, resources, and schedule
of testing activities.
• Objective: To ensure all test activities are aligned with project goals and objectives.
Test Planning and Design
• Steps in Test Planning
1.Identify Test Objectives:
1. Determine what needs to be tested (e.g., functionality, performance, security).
2. Example: In a banking application, objectives might include testing transaction security
and user authentication.
2.Define Test Scope:
1. Outline the boundaries of testing (e.g., which features or modules will be tested).
2. Scenario: For an e-commerce website, the scope may include the checkout process,
search functionality, and product display.
3.Resource Allocation:
1. Identify human, hardware, and software resources required.
2. Example: Assign team members to different modules, allocate testing tools like
Selenium.
Test Planning and Design
• Steps in Test Planning
• Risk Analysis:
• Test Schedule:
• Daily Stand-Ups:
• Brief meetings to discuss progress, blockers, and next steps.
• Scenario: Team reviews the status of sprint-based testing activities.
• Test Execution Reports:
• Document the results of executed test cases.
• Example: A report showing pass/fail status, defects found, and execution time.
• Defect Tracking:
• Monitor the status of identified defects.
• Scenario: Using a tool like JIRA to track defects from identification to
resolution.
Monitoring and Measuring Test Execution
• Measuring Test Execution
1.Test Coverage Metrics:
1. Assess the extent of testing (e.g., requirements coverage, code coverage).
2. Example: Measuring statement and branch coverage in unit tests.
2.Defect Density:
1. Calculate the number of defects found per module.
2. Scenario: High defect density in the checkout module of an e-commerce site suggests
potential code issues.
2.Defect Density:
1. Calculate the number of defects found per module.
2. Scenario: High defect density in the checkout module of an e-commerce site suggests
potential code issues.
• Definition: The use of software tools to support test activities, including test
execution, management, and defect tracking.
• Challenges: Initial setup cost, maintenance of scripts, not all tests can be
automated.
• Outcome: A streamlined and efficient testing process with clear roles and
responsibilities.
Test Team Organization and Management
• Roles in a Test Team
1.Test Manager:
1. Responsible for overall test strategy, planning, and management.
2. Example: A test manager in a financial services firm overseeing multiple testing projects.
2.Test Lead:
1. Manages the day-to-day testing activities and team members.
2. Scenario: A test lead coordinating testing efforts for a new mobile app feature.
3.Test Engineers:
1. Execute test cases, report defects, and participate in test design.
2. Example: Test engineers testing various modules of a healthcare application.
4.Automation Engineers:
1. Develop and maintain automated test scripts.
2. Scenario: An automation engineer creating scripts for cross-browser testing in an e-
commerce platform.
Test Team Organization and Management
• Test Team Structures
1.Centralized Team:
1. A single team that serves multiple projects.
2. Scenario: A centralized QA team supporting various departments in a large enterprise.
2.Project-Based Team:
1. Dedicated team for each project.
2. Example: A project-based test team for a time-sensitive government project.
3.Agile/DevOps Team:
1. Integrated teams with testers working closely with developers.
2. Scenario: An Agile team working on a continuous delivery pipeline for a cloud
application.
Test Team Organization and Management
• Managing a Test Team
• Communication:
• Performance Monitoring:
• Team Structure: Centralized team with specialized roles for different modules
(finance, HR, inventory).