Resource
Article [7181]
General
[1032]
Acceptance
[63]
Ad Hoc
[28]
Agile, Scrum
[231]
Black Box
[117]
Bug, Defect
[258]
DB, Test Data
[274]
Environment
[42]
Functional
[115]
Glossary, Term
[74]
GUI, Usability
[98]
Integrate test
[46]
Interview, FAQ
[285]
Manual Testing
[118]
Methodology
[231]
Metrics
[327]
Mobile, Embed
[153]
Performance
[326]
Process
[194]
Requirement
[124]
Review, Static
[102]
Risk
[99]
Security Test
[215]
Standard, ISO
[179]
Test Automate
[347]
Test Case
[341]
Test Design
[69]
Test Plan
[311]
Test Manage
[227]
Test Script
[56]
Test Technique
[265]
Tool
[175]
Tool- Jmeter
[40]
Tool- Selenium
[125]
Unit Test
[166]
Web Test
[258]
White Box
[70]
Ebook [1163]
General
[277]
Acceptance
[3]
Agile, Scrum
[24]
DB Test
[76]
Development
[137]
GUI, Usability
[17]
Interview, FAQ
[9]
Java Test
[68]
Metrics
[17]
Mobile, Embed
[14]
Performance
[49]
Process
[11]
Requirement
[55]
Review, Analysis
[8]
Risk
[7]
Security Test
[71]
Standard
[20]
Test Manage
[85]
Test Automate
[84]
Tool
[8]
Unit Test
[67]
Web Test
[60]
Testing Tool [2277]
Acceptance
[25]
Agile, Scrum
[43]
Bug Tracking
[127]
Build, Release
[27]
Environment
[58]
DB, Test Data
[83]
Functional
[240]
GUI, Usability
[79]
Java Test
[71]
Metrics
[57]
Mobile, Embed
[79]
Network Test
[67]
Performance
[222]
Requirement
[62]
Review, Static
[105]
Security Test
[111]
Test Design
[52]
Test Manage
[208]
Unit, Debug
[224]
Utility, Capture
[97]
Web Testing
[234]
Video [622]
News [2773]
Webinar [914]
Certification Resource
CTAL [273]
CTEL [36]
CSTE, CSQA [198]
CSQE [41]
CMMI, TMMI [135]
PMP [114]
ITIL [67]
Six Sigma [41]
Other [81]
Forum
Forum [1935]
Book
[56]
Certification
[48]
Conference
[64]
ISTQB
[158]
QTP
[92]
Software Test
[1062]
Standard, ISO
[89]
Testing Tool
[287]
jayasinghcIn this technique, we do not use the code to determine a test suite;
rather, knowing the problem that we are trying to solve, we came up with
four types of test data:
• Easy-to-compute data
• Typical data
• Boundary/ extreme data
• Bogus data
For example, suppose we are testing a functional that uses the quadratic formula to determine the two roots of a second-degree polynomial ax2+ bx + c. For simplicity, assume that we are going to work only with real numbers and print an error message if it turns out that the two roots are complex numbers (numbers involving the square root of a negative number).
We can come up with test data for each of the four cases, based on values of the polynomial's discriminate (b2-4ac):
Easy data (discriminant is a perfect square):
Typical Data (discriminant is positive):
Boundary/ Extreme data (discriminant is zero):
Bogus data (discriminant if negative, or a is zero):
• Easy-to-compute data
• Typical data
• Boundary/ extreme data
• Bogus data
For example, suppose we are testing a functional that uses the quadratic formula to determine the two roots of a second-degree polynomial ax2+ bx + c. For simplicity, assume that we are going to work only with real numbers and print an error message if it turns out that the two roots are complex numbers (numbers involving the square root of a negative number).
We can come up with test data for each of the four cases, based on values of the polynomial's discriminate (b2-4ac):
Easy data (discriminant is a perfect square):
a | b | c | Roots |
1 | 2 | 1 | -1, -1 |
1 | 3 | 2 | -1, -2 |
Typical Data (discriminant is positive):
a | b | c | Roots |
1 | 4 | 1 | -3.73205, -0.267949 |
2 | 4 | 1 | -1.70711, -0.292893 |
Boundary/ Extreme data (discriminant is zero):
a | b | c | Roots |
2 | -4 | 2 | 1, 1 |
2 | -8 | 8 | 2, 2 |
Bogus data (discriminant if negative, or a is zero):
a | b | c | Roots |
1 | 1 | 1 | square root of negative number |
0 | 1 | 1 | Division by zero |
Service
New
Popular Documents
Weekly
Monthly
Yearly
Popular Download
Weekly
Monthly
Twitter
Tag List
web testing
PM
Plan
QA
Certification
Test
mobile testing
Software
Test Case
agile testing
QTP
Sql
testing
Bug
Quality
performance
Software Testing
agile
Template
test plan
mobile
ISTQB
Unit Testing
tool
Performance Testing
software qa service
software testing company
Exam
outsourcing software testing
Interview
HP
tester
Automation
Metrics
conference
Selenium
Test Automation
process
Guide
security testing
Questions
Test management
Development
Manual
web
framework
Sample Exam
security
Management
mobile application testing
checklist
Visitor
Member Login (IP)
225010
118668
203164386
Yesterday
Today
Total

 
 
AMR
tyagi12
good article, thanks for sharing