Planning and Estimation
Plan the testing, set the strategy, estimate the effort, and write acceptance criteria.
8 min read8 মিনিটে পড়া যায়9 min read9 মিনিটে পড়া যায় · 5 sections5টি সেকশন · 9 sources9টি সোর্স · updated Nov 2026আপডেট: Nov 2026
A three-point estimate, with its errorতিন-পয়েন্ট এস্টিমেট ও তার ত্রুটি
Give a best, a likely and a worst case. Then move the worst case and see E and its range change.সেরা, সম্ভাব্য আর সবচেয়ে খারাপ কেস দিন। তারপর খারাপ কেস সরিয়ে দেখুন E ও তার সীমা কীভাবে বদলায়।
You’ll learnআপনি শিখবেন
- Why you split big tasksবড় কাজ কেন ভাগ করবেন✓
- What a, m and b meana, m ও b মানে কী
- How E is a weighted meanE কীভাবে ওজনযুক্ত গড়
- What SD tells youSD কী জানায়
- How a long worst case moves Eলম্বা খারাপ কেস E-কে কীভাবে সরায়
Test Plan
A test plan is a document that explains what we will test, why we will test, how we will test, who will test, and when testing will be completed.
It helps the QA team and stakeholders understand the full testing process before starting the test project.
Test planning includes:
1. Testing Context
This explains the basic background of testing. It includes:
- What will be tested
- What will not be tested
- Test objectives
- Project limitations
- Requirement documents or test basis
2. Assumptions and Constraints
This explains what we are assuming and what limitations we have. Example:
- The test environment will be ready on time
- Developers will fix critical bugs quickly
- Testing must be completed within 2 weeks
- Limited testers or limited devices are available
3. Stakeholders
This explains who is involved in the testing project and what their responsibilities are. Example: QA team, Developers, Project manager, Product owner, Business team, Client. It may also include whether new testers need to be hired or trained.
4. Communication
This explains how the team will communicate during testing. Example: Daily standup meeting, Bug reporting process, Test summary report, Email or Slack updates, Weekly QA status meeting.
5. Risk Register
This lists possible risks that can affect the product or the testing process. Example:
- Important feature may fail
- Test environment may not be stable
- Requirement may change frequently
- Testing time may be too short
- Critical bugs may be found near release
6. Test Approach
This explains how testing will be performed. It includes:
- Test levels, such as unit, integration, system, and acceptance testing
- Test types, such as functional, regression, performance, security, and usability testing
- Test techniques, such as boundary value analysis, equivalence partitioning, and exploratory testing
- Test deliverables, such as test cases, bug reports, and test summary reports
- Entry criteria and exit criteria
- Test data requirements
- Test environment requirements
- Metrics to be collected
- Level of tester independence
7. Resource, Budget, and Schedule
This explains what resources are needed and when testing activities will happen. It includes: Number of testers needed, Required tools, Required devices, Required budget, Testing timeline, Test execution schedule, Release deadline.
In simple words:
A test plan answers these questions:
- What will we test?
- Why will we test?
- How will we test?
- Who will test?
- When will testing start and finish?
- What risks may affect testing?
- What resources are needed?
- What conditions must be met before release?
So, a test plan works like a roadmap for the complete testing process.
A test plan describes the test objectives, the resources, and the processes of one test project. Source 1সোর্স 1 The glossary says a test plan is documentation that describes test objectives, means and schedule for achieving test coordination. Source 2সোর্স 2
Purpose of a test plan
A test plan has four jobs. Source 1সোর্স 1
- It records the means and the schedule to reach the test objectives.
- It helps to make sure that the test activities meet the agreed criteria.
- It is a way to communicate with the team and the stakeholders.
- It shows that testing follows the test policy and the test strategy, or it explains why testing differs from them.
The work of making the plan is also useful. The tester must think about risks, schedules, people, tools, costs, and effort before testing starts. Source 1সোর্স 1
Typical content
The syllabus lists seven typical parts of a test plan. Source 1সোর্স 1
| Part | Examples the syllabus gives |
|---|---|
| Context of testing | Test scope, test objectives, test basis |
| Assumptions and constraints | No examples in the syllabus |
| Stakeholders | Roles, responsibilities, relevance to testing, hiring needs, training needs |
| Communication | Forms and frequency of communication, document templates |
| Risk register | Product risks and project risks |
| Test approach | Test levels, test types, test techniques, test deliverables, entry and exit criteria, independence of testing, metrics, test data, test environment, deviations from the test policy and strategy |
| Budget and schedule | No examples in the syllabus |
The standard ISO/IEC/IEEE 29119-3 gives more detail about the content of a test plan. Source 1সোর্স 1
Planning in Agile teams
Iterative life cycles have two kinds of planning: release planning and iteration planning. Release planning is the basis for the test approach and test plan of all iterations. Source 1সোর্স 1
| Planning | What the tester does |
|---|---|
| Release planning | Helps to write testable user stories and acceptance criteria. Joins the risk analysis. Estimates the test effort of the stories. Chooses the test approach. Plans the testing of the release. Source 1সোর্স 1 |
| Iteration planning | Joins the detailed risk analysis of the stories. Checks the testability of the stories. Splits stories into tasks, mainly test tasks. Estimates the effort of each test task. Source 1সোর্স 1 |
The tutorial's own advice
Treat a plan as a short working document. Write the seven parts first, and add detail only when the team needs it. Entry criteria and exit criteria have their own topic in Test Cases, Bugs and Completion. This advice is not from the ISTQB syllabus.
সহজ English
A test plan is a document. It tells what, why, and how we will test, who will test, and when testing will be complete. It helps the QA team and the stakeholders understand the full testing process before the project starts.
It has seven parts:
- Testing context: what we will and will not test, the test objectives, the project limitations, and the test basis.
- Assumptions and constraints: what we assume, and what limitations we have.
- Stakeholders: who is involved, and their responsibilities. It can also say if new testers must be hired or trained.
- Communication: how the team communicates during testing.
- Risk register: risks to the product or the testing process.
- Test approach: how testing will be done.
- Resource, budget, and schedule: the resources needed, and when testing happens.
A test plan works like a roadmap for the complete testing process.
A test plan describes the test objectives, the resources, and the processes of one test project Source 1সোর্স 1. The glossary says a test plan is documentation that describes test objectives, means and schedule for achieving test coordination Source 2সোর্স 2.
A test plan has four jobs Source 1সোর্স 1:
- It records the means and the schedule to reach the test objectives.
- It helps to make sure that the test activities meet the agreed criteria.
- It is a way to communicate with the team and the stakeholders.
- It shows that testing follows the test policy and the test strategy, or it tells why testing is different.
The syllabus lists seven typical parts: context of testing, assumptions and constraints, stakeholders, communication, risk register, test approach, and budget and schedule Source 1সোর্স 1.
In iterative life cycles, release planning is the basis for the test approach and test plan of all iterations Source 1সোর্স 1.
বাংলা ব্যাখ্যা
Test plan হলো একটি document। এটি বলে আমরা কী test করব, কেন করব, কীভাবে করব, কে করবে, এবং testing কখন শেষ হবে। Test project শুরুর আগে QA team এবং stakeholder-রা যেন পুরো testing process বুঝতে পারেন, test plan তাতে সাহায্য করে।
Test planning-এ সাতটি অংশ থাকে:
- Testing context: কী test হবে, কী test হবে না, test objective, project-এর সীমাবদ্ধতা, এবং requirement document বা test basis।
- Assumptions and constraints: আমরা কী ধরে নিচ্ছি এবং আমাদের কী কী সীমাবদ্ধতা আছে।
- Stakeholders: testing project-এ কারা যুক্ত এবং তাঁদের দায়িত্ব কী। নতুন tester hire বা train করতে হবে কি না, সেটিও এখানে থাকতে পারে।
- Communication: testing চলার সময় team কীভাবে যোগাযোগ করবে।
- Risk register: product বা testing process-এ প্রভাব ফেলতে পারে এমন সম্ভাব্য risk-গুলোর তালিকা।
- Test approach: testing কীভাবে করা হবে।
- Resource, budget, and schedule: কী resource লাগবে এবং testing activity-গুলো কখন হবে।
তাই test plan পুরো testing process-এর জন্য একটি roadmap-এর মতো কাজ করে।
Test plan একটি test project-এর test objective, resource, এবং process বর্ণনা করে Source 1সোর্স 1। Glossary অনুযায়ী test plan হলো test coordination-এর জন্য objective, উপায় (means), এবং schedule বর্ণনাকারী documentation Source 2সোর্স 2।
Test plan-এর চারটি কাজ Source 1সোর্স 1:
- Test objective পূরণের উপায় ও schedule লিখে রাখা।
- Test activity-গুলো যেন agreed criteria পূরণ করে, তা নিশ্চিত করতে সাহায্য করা।
- Team ও stakeholder-দের সাথে যোগাযোগের একটি মাধ্যম হওয়া।
- দেখানো যে testing test policy ও test strategy মেনে চলে, অথবা কেন আলাদা তা ব্যাখ্যা করা।
Plan তৈরির কাজটিও উপকারী। Testing শুরুর আগে tester-কে risk, schedule, মানুষ, tool, খরচ, এবং effort নিয়ে ভাবতে হয় Source 1সোর্স 1।
Syllabus test plan-এর সাতটি typical অংশ বলে: context of testing, assumptions and constraints, stakeholders, communication, risk register, test approach, এবং budget and schedule Source 1সোর্স 1। ISO/IEC/IEEE 29119-3 standard test plan-এর content সম্পর্কে আরও বিস্তারিত দেয় Source 1সোর্স 1।
Iterative life cycle-এ দুই ধরনের planning আছে: release planning এবং iteration planning। Release planning সব iteration-এর test approach ও test plan-এর ভিত্তি Source 1সোর্স 1।
Test Strategy
A test strategy is a high-level guideline that explains how testing will be performed across a project, product, or organization.
It defines the overall testing direction, approach, standards, tools, responsibilities, risk management, and quality expectations.
Example: For an eCommerce project, the test strategy may include:
- Performing API testing first, then UI testing
- Using Playwright for automation
- Giving high priority to payment, login, and order flows
- Running performance testing before release
In simple terms: Test Strategy = The big-picture approach for how testing will be done
The glossary defines a test strategy as a description of how to perform testing to reach the test objectives under given circumstances. Source 3সোর্স 3
The syllabus uses the term but does not define it. It says that a test plan must show that testing follows the existing test strategy, or explain why it does not. Source 1সোর্স 1 It also says that the context of a project affects the test strategy. Source 1সোর্স 1
Organizational test strategy
The glossary has a second term for the organization-wide case. An organizational test strategy describes the generic requirements for testing, and how to test, inside an organization. Source 4সোর্স 4
Test approach
The glossary defines a test approach as the manner of implementing test tasks. Source 5সোর্স 5 The test approach is one part of the test plan. Source 1সোর্স 1
One example in the syllabus is risk-based testing. In this approach, the team selects, prioritizes, and manages the test activities with the results of risk analysis and risk control. Source 1সোর্স 1
| Term | Short meaning | Source |
|---|---|---|
| Test strategy | How to test to reach the test objectives under given circumstances | Source 3সোর্স 3 |
| Organizational test strategy | The generic testing requirements and methods of one organization | Source 4সোর্স 4 |
| Test approach | The manner of implementing the test tasks, written in the test plan | Source 5সোর্স 5 Source 1সোর্স 1 |
The tutorial's own example
For an eCommerce project, a strategy can say that the team tests the API before the UI. It can also say that payment and login get the most attention. This example comes from the notes and is not from the ISTQB sources.
সহজ English
A test strategy is a high-level guideline. It tells how testing will be done across a project, a product, or an organization. It sets the overall testing direction, the approach, the standards, the tools, the responsibilities, the risk management, and the quality expectations.
For example, the test strategy of an eCommerce project can include these points:
- Do API testing first, then UI testing.
- Use Playwright for automation.
- Give high priority to the payment, login, and order flows.
- Do performance testing before the release.
In simple terms, a test strategy is the big-picture approach for how testing will be done.
The glossary says a test strategy describes how to do testing to reach the test objectives under given circumstances Source 3সোর্স 3.
The syllabus uses the term, but it does not define it. It says that a test plan must show that testing follows the existing test strategy, or tell why it does not Source 1সোর্স 1. It also says that the context of a project affects the test strategy Source 1সোর্স 1.
For the organization-wide case, the glossary has a second term. An organizational test strategy describes the generic requirements for testing, and how to test, inside an organization Source 4সোর্স 4.
A test approach is the manner of implementing test tasks Source 5সোর্স 5. It is one part of the test plan Source 1সোর্স 1. One example is risk-based testing. Here the team uses the results of risk analysis and risk control to select, prioritize, and manage the test activities Source 1সোর্স 1.
বাংলা ব্যাখ্যা
Test strategy হলো একটি high-level guideline। এটি বলে একটি project, product, বা organization জুড়ে testing কীভাবে করা হবে। এটি testing-এর সামগ্রিক দিক, approach, standard, tool, দায়িত্ব, risk management, এবং quality-র প্রত্যাশা ঠিক করে।
উদাহরণ: একটি eCommerce project-এর test strategy-তে এগুলো থাকতে পারে:
- আগে API testing, তারপর UI testing করা।
- Automation-এর জন্য Playwright ব্যবহার করা।
- Payment, login, এবং order flow-কে বেশি priority দেওয়া।
- Release-এর আগে performance testing চালানো।
সহজ কথায়, test strategy হলো testing কীভাবে করা হবে তার big-picture approach।
Glossary অনুযায়ী test strategy হলো নির্দিষ্ট পরিস্থিতিতে test objective পূরণের জন্য কীভাবে testing করতে হবে তার বর্ণনা Source 3সোর্স 3।
Syllabus এই term ব্যবহার করে, কিন্তু এর definition দেয় না। Syllabus বলে, test plan-কে দেখাতে হবে যে testing বিদ্যমান test strategy মেনে চলে, অথবা কেন মেনে চলে না তা ব্যাখ্যা করতে হবে Source 1সোর্স 1। এটি আরও বলে যে project-এর context test strategy-কে প্রভাবিত করে Source 1সোর্স 1।
পুরো organization-এর ক্ষেত্রে glossary-তে আরেকটি term আছে। Organizational test strategy একটি organization-এর ভেতরে testing-এর generic requirement এবং কীভাবে test করতে হবে তা বর্ণনা করে Source 4সোর্স 4।
Glossary অনুযায়ী test approach হলো test task বাস্তবায়নের পদ্ধতি Source 5সোর্স 5। Test approach test plan-এর একটি অংশ Source 1সোর্স 1। Syllabus-এর একটি উদাহরণ risk-based testing। এখানে team risk analysis ও risk control-এর ফল ব্যবহার করে test activity বাছাই করে, priority ঠিক করে, এবং পরিচালনা করে Source 1সোর্স 1।
Tutorial-এর নিজের উদাহরণ, ISTQB source থেকে নয়: একটি eCommerce project-এর strategy বলতে পারে যে team UI-এর আগে API test করবে, এবং payment ও login সবচেয়ে বেশি মনোযোগ পাবে।
Test Plan vs Test Strategy
| Aspect | Test Plan | Test Strategy |
|---|---|---|
| Definition | A Test Plan is a detailed document that outlines the scope, objectives, resources, schedule, and approach for a specific testing project. It provides a roadmap for the testing process. | A Test Strategy is a high-level document that defines the overall approach, testing objectives, and methods to be employed for multiple testing projects within an organization. It sets a long-term direction for testing. |
| Scope | It focuses on the specifics of a single testing project, including the features, functionalities, and components to be tested. | It has a broader scope, covering testing across various projects or products. It provides guidelines for consistent testing practices. |
| Level of Detail | A Test Plan is highly detailed and project-specific. It includes specifics about test cases, test data, test environment, and test schedules. | A Test Strategy is less detailed and focuses on high-level principles and guidelines. It doesn't delve into the specifics of individual projects. |
| Audience | It is primarily for the testing team, project stakeholders, and anyone directly involved in the specific testing project. | It is intended for a wider audience, including management, stakeholders, and teams involved in multiple projects. |
| Change Frequency | Test Plans may change frequently as project requirements and scope evolve. | Test Strategies change less frequently and are more stable, as they provide a long-term approach to testing practices. |
The notes' table says a test strategy covers many projects, but the ISTQB glossary defines "test strategy" without that limit and uses "organizational test strategy" for the organization-wide meaning. Switch to the ISTQB version at the top of the page to see the ISTQB definition.
ISTQB v4 uses the terms test plan, test strategy, and test approach. Source 1সোর্স 1 The next table compares the plan and the strategy.
| Aspect | Test plan | Test strategy |
|---|---|---|
| Meaning | The objectives, resources, and processes of a test project Source 1সোর্স 1 | A description of how to test to reach the objectives under given circumstances Source 3সোর্স 3 |
| Scope | One test project Source 1সোর্স 1 | No fixed scope in the general term Source 3সোর্স 3. The organization-wide form is the organizational test strategy Source 4সোর্স 4. |
| Content | The seven typical parts, which include the test approach Source 1সোর্স 1 | The syllabus does not list its content. For the organizational test strategy, the glossary names the generic testing requirements of an organization Source 4সোর্স 4. |
| Relation | Must show that testing follows the existing strategy, or explain the deviation Source 1সোর্স 1 | The existing reference that the plan follows Source 1সোর্স 1 |
How the three terms fit together
- The strategy is a description of how to test. Source 3সোর্স 3
- The test approach is the way a team implements the test tasks in a project. Source 5সোর্স 5
- The test plan holds the test approach, and it can list the deviations from the policy and the strategy. Source 1সোর্স 1
- Release planning is the basis for both the test approach and the test plan. Source 1সোর্স 1
The tutorial's own advice
Teams use the words strategy, approach, and plan in different ways. When you join a team, ask how it uses each word and which documents it keeps. This advice is not from the ISTQB syllabus.
সহজ English
A test plan is a detailed document for one testing project. It gives the scope, objectives, resources, schedule, and approach. It has specifics such as test cases, test data, the test environment, and test schedules. It is mainly for the testing team and the stakeholders of that project. It may change frequently when the requirements and the scope change.
A test strategy is a high-level document. It gives the overall approach, the objectives, and the methods for multiple testing projects in an organization. It has less detail. It is for a wider audience: management, stakeholders, and teams in multiple projects. It changes less frequently.
The notes say that a test strategy covers many projects, but the ISTQB glossary does not set that limit. Its organization-wide term is "organizational test strategy". Switch to the ISTQB version at the top of the page to see the ISTQB definition.
ISTQB v4 uses the terms test plan, test strategy, and test approach Source 1সোর্স 1.
- Meaning: a test plan gives the objectives, resources, and processes of a test project Source 1সোর্স 1. A test strategy describes how to test to reach the objectives under given circumstances Source 3সোর্স 3.
- Scope: a test plan is for one test project Source 1সোর্স 1. The general term "test strategy" has no fixed scope Source 3সোর্স 3. The organization-wide form is the organizational test strategy Source 4সোর্স 4.
- Content: a test plan has seven typical parts, and the test approach is one of them Source 1সোর্স 1. The syllabus does not list the content of a strategy.
- Relation: the plan must show that testing follows the existing strategy, or explain the deviation Source 1সোর্স 1.
The test approach is the way a team implements the test tasks in a project Source 5সোর্স 5. Release planning is the basis for both the test approach and the test plan Source 1সোর্স 1.
বাংলা ব্যাখ্যা
Test plan হলো একটি নির্দিষ্ট testing project-এর বিস্তারিত document। এটি scope, objective, resource, schedule, এবং approach বলে, এবং testing process-এর roadmap দেয়। এর scope একটি testing project: কোন feature, functionality, ও component test হবে। এতে test case, test data, test environment, ও test schedule-এর খুঁটিনাটি থাকে। এটি মূলত testing team, project stakeholder, এবং ওই project-এ সরাসরি যুক্ত সবার জন্য। Requirement ও scope বদলালে test plan প্রায়ই বদলাতে পারে।
Test strategy হলো একটি high-level document। এটি একটি organization-এর একাধিক testing project-এর সামগ্রিক approach, testing objective, এবং method ঠিক করে। এটি testing-এর দীর্ঘমেয়াদি দিক ঠিক করে এবং একই রকম testing practice-এর guideline দেয়। এতে বিস্তারিত কম থাকে, এবং এটি আলাদা আলাদা project-এর খুঁটিনাটিতে যায় না। এটি বড় audience-এর জন্য: management, stakeholder, এবং একাধিক project-এর team। এটি কম বদলায় এবং বেশি stable।
মনে রাখুন: notes-এর table বলে test strategy অনেক project জুড়ে থাকে। কিন্তু ISTQB glossary এই সীমা ছাড়াই "test strategy" define করে, আর পুরো organization-এর অর্থে "organizational test strategy" ব্যবহার করে। ISTQB definition দেখতে page-এর উপরে ISTQB version-এ যান।
ISTQB v4 তিনটি term ব্যবহার করে: test plan, test strategy, এবং test approach Source 1সোর্স 1।
- অর্থ: test plan হলো একটি test project-এর objective, resource, ও process Source 1সোর্স 1। Test strategy হলো নির্দিষ্ট পরিস্থিতিতে objective পূরণে কীভাবে test করতে হবে তার বর্ণনা Source 3সোর্স 3।
- Scope: test plan একটি test project-এর জন্য Source 1সোর্স 1। সাধারণ term "test strategy"-এর কোনো নির্দিষ্ট scope নেই Source 3সোর্স 3। পুরো organization-এর রূপটি হলো organizational test strategy Source 4সোর্স 4।
- Content: test plan-এ সাতটি typical অংশ থাকে, যার একটি হলো test approach Source 1সোর্স 1। Syllabus strategy-র content-এর তালিকা দেয় না। Organizational test strategy-র জন্য glossary একটি organization-এর generic testing requirement-এর কথা বলে Source 4সোর্স 4।
- সম্পর্ক: plan-কে দেখাতে হবে যে testing বিদ্যমান strategy মেনে চলে, অথবা deviation ব্যাখ্যা করতে হবে Source 1সোর্স 1।
Test approach হলো একটি project-এ team যেভাবে test task বাস্তবায়ন করে Source 5সোর্স 5। Test plan-এ test approach থাকে, এবং এতে policy ও strategy থেকে deviation-এর তালিকা থাকতে পারে Source 1সোর্স 1। Release planning test approach ও test plan দুটোরই ভিত্তি Source 1সোর্স 1।
Tutorial-এর নিজের পরামর্শ, ISTQB syllabus থেকে নয়: বিভিন্ন team strategy, approach, ও plan শব্দগুলো ভিন্নভাবে ব্যবহার করে। নতুন team-এ যোগ দিলে জিজ্ঞেস করুন, তারা প্রতিটি শব্দ কীভাবে ব্যবহার করে এবং কোন কোন document রাখে।
Test Effort Estimation
1. Estimation Based on Ratios
This technique uses data from previous similar projects to estimate testing effort.
Example: In previous projects, your company found that: Development effort : Testing effort = 3 : 2. Now, if the current project development effort is 600 person-days, then testing effort can be estimated as: Testing effort = 400 person-days. So, if development takes 3 parts, testing usually takes 2 parts.
2. Extrapolation
This technique estimates future testing effort based on the progress of the current project.
Example: Suppose in the first sprint, QA tested 5 features in 10 days. Now, the project has 20 similar features. So, estimated testing effort: 5 features = 10 days, 20 features = 40 days. This is useful when the team starts testing and then predicts the remaining effort based on early progress.
3. Wideband Delphi
In this technique, multiple experts estimate individually. Then they discuss differences and agree on a final estimate.
Example: For testing a payment feature: Tester 1 estimates: 3 days; Tester 2 estimates: 5 days; Tester 3 estimates: 4 days. They discuss the assumptions, risks, and complexity. Finally, they agree: Final estimate = 4 days. This is useful when expert judgment is needed.
4. Three-Point Estimation
This technique uses three estimates: Optimistic: Best-case estimate; Most likely: Normal estimate; Pessimistic: Worst-case estimate.
Formula: E = (Optimistic + 4 × Most likely + Pessimistic) / 6
Example: For testing checkout functionality: Optimistic estimate = 2 days; Most likely estimate = 4 days; Pessimistic estimate = 8 days. So, E = (2 + 4×4 + 8) / 6 = (2 + 16 + 8) / 6 = 26 / 6 = 4.3 days. So, the estimated testing effort is around 4 to 5 days.
In simple terms
- Ratio-based estimation: Estimate using past project ratios.
- Extrapolation: Estimate based on current progress.
- Wideband Delphi: Experts discuss and agree on an estimate.
- Three-point estimation: Estimate using best-case, normal-case, and worst-case values.
Test effort estimation predicts how much test work the team needs to meet the test objectives of a project. Source 1সোর্স 1 The glossary calls a test estimation an approximation of some aspect of testing. Source 6সোর্স 6
Two points apply to every estimate. Source 1সোর্স 1
- Tell the stakeholders that the estimate rests on assumptions.
- Tell them that every estimate has some error.
Small tasks are usually estimated more accurately than large tasks. So a large task can be split into small tasks, and the team can estimate each one. Source 1সোর্স 1
The syllabus describes four techniques. Source 1সোর্স 1
| Technique | Kind | Input |
|---|---|---|
| Estimation based on ratios | Metrics-based | Figures from earlier projects of the organization |
| Extrapolation | Metrics-based | Measures from the current project |
| Wideband Delphi | Expert-based, iterative | Estimates of several experts |
| Three-point estimation | Expert-based | Three estimates of an expert: best, most likely, worst |
Estimation based on ratios
The team collects figures from earlier projects and derives standard ratios. The organization's own ratios are usually the best source. Source 1সোর্স 1
Example: the development-to-test ratio of an earlier project is 3:2. The new project needs 600 person-days of development. One part is 600 / 3 = 200 person-days. The test effort is 2 × 200 = 400 person-days. Source 1সোর্স 1
Extrapolation
The team measures the work as early as possible in the current project. With enough data, it approximates the remaining effort, usually with a mathematical model. The technique suits iterative life cycles. Source 1সোর্স 1
Example from the syllabus: the estimate for the next iteration is the average effort of the last three iterations. Source 1সোর্স 1 With the tutorial's own numbers 8, 10, and 12 person-days, the estimate is (8 + 10 + 12) / 3 = 10 person-days.
The notes use a straight-line model. Five features took 10 days, so one feature takes 10 / 5 = 2 days. Twenty similar features need 20 × 2 = 40 days.
Wideband Delphi
This technique is iterative and expert-based. Source 1সোর্স 1 The glossary says it uses the collective wisdom of the team members. Source 7সোর্স 7
- Each expert estimates the effort alone.
- The team collects the estimates.
- If an estimate is outside the agreed range, the experts discuss their estimates.
- Each expert estimates again alone, using the feedback.
- The team repeats steps 2 to 4 until it reaches consensus. Source 1সোর্স 1
Planning Poker is a variant that Agile teams often use. The experts show cards with numbers that stand for the effort size. Source 1সোর্স 1
Three-point estimation
Each expert gives three values: the most optimistic estimate (a), the most likely estimate (m), and the most pessimistic estimate (b). Source 8সোর্স 8 E is the weighted arithmetic mean of the three values. Source 1সোর্স 1
The syllabus gives the most popular version of the formula. It also gives a formula for the measurement error, which it calls SD. Source 1সোর্স 1
E = (a + 4 × m + b) / 6
SD = (b − a) / 6Syllabus example: a = 6, m = 9, and b = 18 person-hours. Then E = (6 + 36 + 18) / 6 = 10 and SD = (18 − 6) / 6 = 2. The final estimate is 10 ± 2 person-hours, which is between 8 and 12 person-hours. Source 1সোর্স 1
The checkout example from the notes uses a = 2, m = 4, and b = 8 days.
| Step | Calculation | Result |
|---|---|---|
| Estimate | E = (2 + 4 × 4 + 8) / 6 = (2 + 16 + 8) / 6 = 26 / 6 | 4.33 days |
| Error | SD = (8 − 2) / 6 | 1 day |
| Range | 4.33 ± 1 | About 3.3 to 5.3 days |
The notes round the result to "around 4 to 5 days". The SD shows the range more exactly.
The tutorial's own advice
Give the estimate and its range together, for example "4.3 ± 1 days". Then the stakeholders see the uncertainty. This advice is not from the ISTQB syllabus.
সহজ English
- Estimation based on ratios: use data from earlier similar projects. Earlier projects had development effort : testing effort = 3 : 2. So 600 person-days of development give 400 person-days of testing.
- Extrapolation: use the progress of the current project. In the first sprint, QA tested 5 features in 10 days. The project has 20 similar features, so the estimate is 40 days.
- Wideband Delphi: several experts estimate alone. Then they discuss the differences and agree on a final estimate. For example, three testers say 3, 5, and 4 days, and then agree on 4 days.
- Three-point estimation: use a best-case, a normal, and a worst-case estimate. E = (Optimistic + 4 × Most likely + Pessimistic) / 6. For checkout, E = (2 + 4×4 + 8) / 6 = 26 / 6 = 4.3 days, so around 4 to 5 days.
Test effort estimation predicts how much test work the team needs to meet the test objectives of a project Source 1সোর্স 1. Tell the stakeholders that each estimate rests on assumptions and has some error. Source 1সোর্স 1
The syllabus describes four techniques Source 1সোর্স 1:
- Ratios (metrics-based): use figures from earlier projects.
- Extrapolation (metrics-based): measure the current project early, then approximate the remaining effort. It suits iterative life cycles.
- Wideband Delphi (expert-based, iterative): experts estimate alone. If an estimate is outside the agreed range, they discuss and estimate again, until they reach consensus. Planning Poker is a variant.
- Three-point estimation (expert-based): with the most optimistic (a), most likely (m), and most pessimistic (b) estimates, E = (a + 4 × m + b) / 6 and SD = (b − a) / 6. For a = 6, m = 9, and b = 18 person-hours, the result is 10 ± 2 person-hours.
বাংলা ব্যাখ্যা
Notes-এ testing effort estimate করার চারটি technique আছে:
- Estimation based on ratios: আগের একই রকম project-এর data ব্যবহার করা হয়। উদাহরণ: আগের project-গুলোতে development effort : testing effort = 3 : 2। এখনকার project-এর development effort 600 person-days হলে testing effort হবে 400 person-days।
- Extrapolation: চলমান project-এর অগ্রগতি দেখে testing effort estimate করা হয়। উদাহরণ: প্রথম sprint-এ QA 10 দিনে 5টি feature test করেছে। Project-এ একই রকম 20টি feature আছে, তাই estimate হবে 40 দিন।
- Wideband Delphi: কয়েকজন expert আলাদাভাবে estimate করেন। তারপর পার্থক্য নিয়ে আলোচনা করে একটি final estimate-এ একমত হন। উদাহরণ: payment feature-এর জন্য তিনজন tester 3, 5, ও 4 দিন বলেন। Assumption, risk, ও complexity নিয়ে আলোচনার পর তাঁরা 4 দিনে একমত হন।
- Three-point estimation: তিনটি estimate নেওয়া হয়: optimistic (best case), most likely (normal), ও pessimistic (worst case)। Formula: E = (Optimistic + 4 × Most likely + Pessimistic) / 6। Checkout-এর উদাহরণ: E = (2 + 4×4 + 8) / 6 = 26 / 6 = 4.3 দিন, অর্থাৎ প্রায় 4 থেকে 5 দিন।
Test effort estimation অনুমান করে, একটি project-এর test objective পূরণে team-এর কতটা test-এর কাজ লাগবে Source 1সোর্স 1। Stakeholder-দের জানান যে প্রতিটি estimate assumption-এর উপর নির্ভর করে এবং প্রতিটি estimate-এ কিছু error থাকে। ছোট task সাধারণত বেশি সঠিকভাবে estimate হয়, তাই বড় task-কে ছোট task-এ ভাগ করে estimate করা যায় Source 1সোর্স 1।
Syllabus চারটি technique বর্ণনা করে Source 1সোর্স 1:
- Estimation based on ratios (metrics-based): organization-এর আগের project-এর figure থেকে standard ratio বের করা হয়। 3:2 development-to-test ratio এবং 600 person-days development হলে test effort 2 × 200 = 400 person-days।
- Extrapolation (metrics-based): চলমান project-এ যত আগে সম্ভব কাজ মাপা হয়। যথেষ্ট data হলে সাধারণত একটি mathematical model দিয়ে বাকি effort approximate করা হয়। এটি iterative life cycle-এর জন্য উপযুক্ত।
- Wideband Delphi (expert-based, iterative): প্রতিটি expert আলাদাভাবে estimate করেন। কোনো estimate agreed range-এর বাইরে গেলে expert-রা আলোচনা করে আবার estimate করেন, consensus না হওয়া পর্যন্ত। Planning Poker এর একটি variant।
- Three-point estimation (expert-based): most optimistic (a), most likely (m), ও most pessimistic (b) মান থেকে E = (a + 4 × m + b) / 6 এবং SD = (b − a) / 6। a = 6, m = 9, b = 18 person-hours হলে estimate 10 ± 2 person-hours।
Acceptance Criteria
Acceptance criteria (AC) are the conditions that a software product must meet to be accepted by a user, a customer, or other systems. They are unique for each user story and define the feature behavior from the end-user's perspective.
2 ways can be written:
- Scenario oriented
- Rule oriented
The notes say there are 2 ways to write acceptance criteria, but the syllabus calls them the two most common formats and also allows a custom format. Switch to the ISTQB version at the top of the page to see the ISTQB definition.
Scenario Oriented
- It is approached through the Given/When/Then (GWT) sequence that looks like this:
- Given some precondition
- When I do some action
- Then I expect some result
- This approach was inherited from behavior-driven development (BDD) and provides a consistent structure that helps testers define when to begin and end testing a particular feature.
Scenario Oriented: Example
Feature: User should Login to access the portal
As a new user
I want to log in to the website
So that the user can login successfully
Scenario #1: Successful Log in to the website
Given A user visit the website
When the user clicks Sign-in
And enters a valid email <email> and password <password>
And clicks Sign-in/submit button
Then the user should be successfully logged into the site
Scenario #2: Unsuccessful Log in to the website
Given A user visit the website
When the user enters an invalid email <email> and password <password>
And clicks Sign-in/submit button
Then the user should get a warning messageRule oriented: Example
This type of acceptance criteria objectives are same as the scenario oriented. But the writing styles are different. It is written by bullet point verification list or tabulated form of input output mapping.
For example regarding a send money transaction:
- Sender should have enough balance
- After successful transaction sender balance should be deducted with corresponding service fee
- Sender and receiver should get SMS
- Sender transaction list should be updated.
Acceptance criteria of a user story are the conditions that the implementation of the story must meet. The implementation must meet them before the stakeholders accept it. Source 1সোর্স 1 The glossary gives a wider definition: the criteria that a work product must meet to be accepted by the stakeholders. Source 9সোর্স 9
The syllabus says acceptance criteria can be seen as test conditions that the tests should exercise. They usually come out of the Conversation between the stakeholders. Source 1সোর্স 1
What acceptance criteria are for
Teams use acceptance criteria to do five things. Source 1সোর্স 1
- Set the scope of the user story.
- Help the stakeholders to agree.
- Show positive and negative scenarios.
- Give a basis for the acceptance testing of the story.
- Allow accurate planning and estimation.
Formats
| Format | Typical form | Source |
|---|---|---|
| Scenario-oriented | The Given/When/Then format, which BDD uses | Source 1সোর্স 1 |
| Rule-oriented | A bullet list of checks, or a table that maps inputs to outputs | Source 1সোর্স 1 |
| Custom | Any other format that is well defined and has no ambiguity | Source 1সোর্স 1 |
The syllabus says that the first two are the most common formats. Most acceptance criteria fit one of them. Source 1সোর্স 1
The next two examples are the tutorial's own. They are not from the ISTQB sources. This first example is scenario-oriented. It has one positive and one negative scenario.
Feature: Password reset
Scenario: Reset link for a known email
Given a registered user is on the reset page
When the user sends the email of the account
Then the page shows a confirmation message
And the system sends a reset link to that email
Scenario: Reset request for an unknown email
Given a visitor is on the reset page
When the visitor sends an email that has no account
Then the page shows the same confirmation message
And the system sends no emailThis second example is rule-oriented. It is a table that maps the order total to the shipping fee.
| Order total | Shipping fee |
|---|---|
| More than 0.00 and less than 50.00 | 5.00 |
| 50.00 or more | 0.00 (free) |
| 0.00 | The order cannot be placed |
সহজ English
Acceptance criteria (AC) are the conditions that a software product must meet before a user, a customer, or other systems accept it. Each user story has its own AC. They define the feature behavior from the end user's view.
The notes give 2 ways to write them: scenario oriented and rule oriented. The syllabus calls these the two most common formats, and it also allows a custom format. Switch to the ISTQB version at the top of the page to see the ISTQB definition.
Scenario oriented AC use the Given/When/Then (GWT) sequence: given a precondition, when I do an action, then I expect a result. It comes from behavior-driven development (BDD). It helps testers define when to begin and end testing a feature.
Rule oriented AC have the same objectives, but a different style: a bullet list of checks, or an input-output table.
Acceptance criteria of a user story are the conditions that the implementation of the story must meet before the stakeholders accept it Source 1সোর্স 1. The glossary gives a wider definition: the criteria that a work product must meet to be accepted by the stakeholders Source 9সোর্স 9.
The syllabus says acceptance criteria can be seen as test conditions that the tests should exercise. They usually come out of the Conversation between the stakeholders Source 1সোর্স 1.
Teams use them to set the scope of the story, help the stakeholders agree, show positive and negative scenarios, give a basis for the acceptance testing of the story, and allow accurate planning and estimation Source 1সোর্স 1.
There are three formats: scenario-oriented (Given/When/Then, which BDD uses), rule-oriented (a bullet list of checks, or a table that maps inputs to outputs), and custom (any other well-defined format with no ambiguity) Source 1সোর্স 1. The first two are the most common Source 1সোর্স 1.
বাংলা ব্যাখ্যা
Acceptance criteria (AC) হলো সেই শর্তগুলো, যা একটি software product-কে পূরণ করতে হয়, যাতে একজন user, customer, বা অন্য system সেটি গ্রহণ করে। প্রতিটি user story-এর AC আলাদা। AC end-user-এর দৃষ্টিতে feature-এর আচরণ ঠিক করে।
Notes অনুযায়ী AC লেখার 2টি উপায় আছে: scenario oriented এবং rule oriented। মনে রাখুন: syllabus এই দুটিকে সবচেয়ে প্রচলিত দুটি format বলে, এবং একটি custom format-ও অনুমোদন করে। ISTQB definition দেখতে page-এর উপরে ISTQB version-এ যান।
Scenario oriented AC Given/When/Then (GWT) ক্রম মেনে লেখা হয়: Given কোনো precondition, When আমি কোনো action করি, Then আমি কোনো result আশা করি। এই পদ্ধতি behavior-driven development (BDD) থেকে এসেছে। এর একই রকম গঠন tester-কে ঠিক করতে সাহায্য করে, কখন একটি feature-এর testing শুরু ও শেষ করতে হবে। Notes-এর উদাহরণে login feature-এর দুটি scenario আছে: সফল login, এবং invalid email ও password দিলে warning message।
Rule oriented AC-এর উদ্দেশ্য একই, শুধু লেখার ধরন আলাদা: bullet point-এর verification list, অথবা input-output mapping-এর table। Send money transaction-এর উদাহরণ: sender-এর যথেষ্ট balance থাকতে হবে; সফল transaction-এর পর sender-এর balance থেকে সংশ্লিষ্ট service fee-সহ কাটা হবে; sender ও receiver SMS পাবেন; sender-এর transaction list update হবে।
একটি user story-এর acceptance criteria হলো সেই শর্তগুলো, যা story-এর implementation-কে পূরণ করতে হবে। Stakeholder-রা গ্রহণ করার আগে implementation-কে এগুলো পূরণ করতে হয় Source 1সোর্স 1। Glossary আরও বিস্তৃত definition দেয়: stakeholder-দের কাছে গ্রহণযোগ্য হতে একটি work product-কে যে criteria পূরণ করতে হয় Source 9সোর্স 9।
Syllabus বলে, acceptance criteria-কে এমন test condition হিসেবে দেখা যায়, যেগুলো test-এ যাচাই করা উচিত। এগুলো সাধারণত stakeholder-দের মধ্যে Conversation থেকে আসে Source 1সোর্স 1।
Team acceptance criteria পাঁচটি কাজে ব্যবহার করে Source 1সোর্স 1: user story-এর scope ঠিক করা, stakeholder-দের একমত হতে সাহায্য করা, positive ও negative scenario দেখানো, story-এর acceptance testing-এর ভিত্তি দেওয়া, এবং সঠিক planning ও estimation সম্ভব করা।
Format তিনটি Source 1সোর্স 1: scenario-oriented (Given/When/Then format, যা BDD ব্যবহার করে), rule-oriented (check-এর bullet list, অথবা input থেকে output map করা table), এবং custom (অন্য যেকোনো format, যা ভালোভাবে defined এবং যাতে কোনো ambiguity নেই)। Syllabus বলে প্রথম দুটি সবচেয়ে প্রচলিত format, এবং বেশিরভাগ acceptance criteria এদের একটির মধ্যে পড়ে Source 1সোর্স 1।
পরের দুটি উদাহরণ tutorial-এর নিজের, ISTQB source থেকে নয়: password reset-এর একটি scenario-oriented উদাহরণ, যাতে একটি positive ও একটি negative scenario আছে; আর একটি rule-oriented table, যা order total থেকে shipping fee map করে।