SlideShare a Scribd company logo
Seminar Kerja Praktek – Zuliar Efendi
TEST DESIGN TECHNIQUES
Program Studi S1 Sistem Informasi
Fakultas Sains dan Teknologi
Universitas Islam Negeri Sultan Syarif Kasim Riau
Pekanbaru
2017
Nopri Wahyudi
11453105420
http://sif.uin-suska.ac.id/
http://fst.uin-suska.ac.id/
http://www.uin-suska.ac.id/
Referensi Graham et.al (2006)(2006
Seminar Kerja Praktek – Zuliar Efendi
Identifying test conditions and designing test
cases
Test implementation: specifying test
procedures or scripts
Test design: specifying test cases
Formality of test documentation
4.1 IDENTIFYING TEST CONDITIONS AND DESIGNING TEST CASES
4.1.1 Introduction
• Test conditions are documented in a Test Design Specification.
• We will look at how to choose test conditions and prioritize them.
• Test cases are documented in a Test Case Specification.
• We will look at how to write a good test case, showing clear traceability to the test basis
• (e.g. the requirement specification) as well as to test conditions.
• Test procedures are documented (as you may expect) in a Test Procedure Specification (also
known as a test script or a manual test script).
• We will look at how to translate test cases into test procedures relevant to the
knowledge of the tester who will be executing the test, and we will look at how to
produce a test execution schedule, using prioritization and technical and logical
dependencies.
In this section, look for the definitions of the glossary terms: test case, test case specification,
test condition, test data, test procedure specification, test script and traceability.
Seminar Kerja Praktek – Zuliar Efendi
4.1.2 Formality of test documentation
Testing may be performed with varying degrees of formality. Very formal testing would have
extensive documentation which is well controlled, and would expect the documented detail of the
tests to include the exact and specific input and expected outcome of the test. Very informal testing
may have no documenta-tion at all, or only notes kept by individual testers, but we'd still expect the
testers to have in their minds and notes some idea of what they intended to test and what they
expected the outcome to be. Most people are probably some-where in between! The right level of
formality for you depends on your context: a commercial safety-critical application has very
different needs than a one-off application to be used by only a few people for a short time.
The level of formality is also influenced by your organization - its culture, the people working there,
how mature the development process is, how mature the testing process is, etc. The thoroughness of
your test documentation may also depend on your time constraints; under excessive deadline
pressure, keeping good documentation may be compromised.
Seminar Kerja Praktek – Zuliar Efendi
4.1.3 Test analysis: identifying test conditions
Test analysis is the process of looking at something that can be used to derive test information. This
basis for the tests is called the 'test basis'. It could be a system requirement, a technical specification,
the code itself (for structural testing), or a business process. Sometimes tests can be based on an
experienced user's knowledge of the system, which may not be documented. The test basis includes
whatever the tests are based on. This was also discussed in Chapter 1. From a testing perspective, we
look at the test basis in order to see what could be tested - these are the test conditions. A test
condition is simply something that we could test. If we are looking to measure coverage of code
decisions (branches), then the test basis would be the code itself, and the list of test conditions would
be the decision outcomes (True and False). If we have a requirements specification, the table of
contents can be our initial list of test conditions.
A good way to understand requirements better is to try to define tests to meet those requirements, as
pointed out by [Hetzel, 1988].
For example, if we are testing a customer management and marketing system for a mobile phone
company, we might have test conditions that are related to a marketing campaign, such as age of
customer (pre-teen, teenager, young adult, mature), gender, postcode or zip code, and purchasing
preference (pay-as-you-go or contract). A particular advertising campaign could be aimed at male
teenaged customers in the mid-west of the USA on pay-as-you-go, for example
Seminar Kerja Praktek – Zuliar Efendi
4.1.4 Test design: specifying test cases
Test conditions can be rather vague, covering quite a large range of possibilities as we saw with
our mobile phone company example (e.g. a teenager in the mid-west), or a test condition may be
more specific (e.g. a particular male customer on pay-as-you-go with less than $10 credit).
However when we come to make a test case, we are required to be very specific; in fact we now
need exact and detailed specific inputs, not general descriptions (e.g. Jim Green, age 17, living in
Grand Rapids, Michigan, with credit of $8.64, expected result: add to Q4 marketing campaign).
Note that one test case covers a number of conditions (teenager, male, mid-west area, pay-as-you-
go, and credit of less than $10).
For a test condition of 'an existing customer', the test case input needs to be 'Jim Green' where Jim
Green already exists on the customer database, or part of this test would be to set up a database
record for Jim Green.
A test case needs to have input values, of course, but just having some values to input to the
system is not a test! If you don't know what the system is sup-posed to do with the inputs, you
can't tell whether your test has passed or failed.
Seminar Kerja Praktek – Zuliar Efendi
4.1.4 Test design: specifying test cases
Ideally expected results should be predicted before the test is run - then your assessment
of whether or not the software did the right thing will be more objective.
For a few applications it may not be possible to predict or know exactly what an
expected result should be; we can only do a 'reasonableness check'. In this case we have
a 'partial oracle' - we know when something is very wrong, but would probably have to
accept something that looked reasonable. An example is when a system has been written
to calculate something where it may not be possible to manually produce expected
results in a reasonable timescale because the calculations are so complex.
In addition to the expected results, the test case also specifies the environ-ment and other
things that must be in place before the test can be run (the pre-conditions) and any things
that should apply after the test completes (the postconditions).
Seminar Kerja Praktek – Zuliar Efendi
4.1.5 Test implementation: specifying test procedures or scripts
Some test cases may need to be run in a particular sequence. For example, a test may create a
new customer record, amend that newly created record and
then delete it. These tests need to be run in the correct order, or they won't test what they are
meant to test.
The document that describes the steps to be taken in running a set of tests (and specifies the
executable order of the tests) is called a test proce-dure in IEEE 829, and is often also referred to
as a test script. It could be called a manual test script for tests that are intended to be run
manually rather than using a test execution tool. Test script is also used to describe the instructions
to a test execution tool. An automation script is written in a programming language that the tool
can interpret. (This is an automated test procedure.) See Chapter 6 for more information on this
and other types of testing tools.
.
Seminar Kerja Praktek – Zuliar Efendi
Test procedure DB15: Set up customers for marketing campaign Y. Step 1: Open database with write
privilege Step 2: Set up customer Bob Flounders
male, 62, Hudsonville, contract Step 3: Set up customer Jim Green
male, 17, Grand Rapids, pay-as-you-go, $8.64 Step 4: ...
We may then have another test procedure to do with the marketing cam-paign:
Test procedure MC03: Special offers for low-credit teenagers Step 1: Get details for Jim Green from
database Step 2: Send text message offering double credit Step 3: Jim Green requests $20 credit, $40
credited
Writing the test procedure is another opportunity to prioritize the tests, to ensure that the best testing is done in
the time available. A good rule of thumb is 'Find the scary stuff first'. However the definition of what is 'scary'
depends on the business, system or project. For example, is it worse to raise Bob Founders' credit limit when
he is not a good credit risk (he may not pay for the credit he asked for) or to refuse to raise his credit limit
when he is a good credit risk (he may go elsewhere for his phone service and we lose the opportunity of lots of
income from him).
Seminar Kerja Praktek – Zuliar Efendi
The test procedures, or test scripts, are then formed into a test execution
schedule that specifies which procedures are to be run first - a kind of super-
script. The test schedule would say when a given script should be run and by
whom. The schedule could vary depending on newly perceived risks affecting
the priority of a script that addresses that risk, for example. The logical and
technical dependencies between the scripts would also be taken into account
when scheduling the scripts. For example, a regression script may always be
the first to be run when a new release of the software arrives, as a smoke
test or sanity check.
Returning to our example of the mobile phone company's marketing cam-
paign, we may have some tests to set up customers of different types on the
database. It may be sensible to run all of the setup for a group of tests first.
So our first test procedure would entail setting up a number of customers,
includ-ing Jim Green, on the database
Seminar Kerja Praktek – Zuliar Efendi
Exploratory testing
Exploratory testing is a hands-on approach in which testers are involved
in minimum planning and maximum test execution. The planning involves
the creation of a test charter, a short declaration of the scope of a short
(1 to 2 hour) time-boxed test effort, the objectives and possible
approaches to be used.
The test design and test execution activities are performed in parallel
typically without formally documenting the test conditions, test cases or
test scripts. This does not mean that other, more formal testing
techniques will not be used. For example, the tester may decide to use
boundary value analysis but will think through and test the most
important boundary values without necessarily writing them down. Some
notes will be written during the exploratory-testing session, so that a
report can be produced afterwards.

More Related Content

What's hot

Test Requirements
Test RequirementsTest Requirements
Test Requirements
telab
 
HCLT Whitepaper: Landmines of Software Testing Metrics
HCLT Whitepaper: Landmines of Software Testing MetricsHCLT Whitepaper: Landmines of Software Testing Metrics
HCLT Whitepaper: Landmines of Software Testing Metrics
HCL Technologies
 
Fundamental test process (andika m)
Fundamental test process (andika m)Fundamental test process (andika m)
Fundamental test process (andika m)
Andika Mardanu
 
Fundamental test process 1
Fundamental test process 1Fundamental test process 1
Fundamental test process 1
Bima Alvamiko
 
Test Case, Use Case and Test Scenario
Test Case, Use Case and Test ScenarioTest Case, Use Case and Test Scenario
Test Case, Use Case and Test Scenario
Lokesh Agrawal
 
Adisak_Resume - Official_2
Adisak_Resume - Official_2Adisak_Resume - Official_2
Adisak_Resume - Official_2
Adisak Suk-ont
 
201008 Software Testing Notes (part 1/2)
201008 Software Testing Notes (part 1/2)201008 Software Testing Notes (part 1/2)
201008 Software Testing Notes (part 1/2)
Javier Gonzalez-Sanchez
 
Fundamental test process
Fundamental test processFundamental test process
Fundamental test process
M Branikno Ramadhan
 
Fundamental test process
Fundamental test processFundamental test process
Fundamental test process
Dinul
 
Chapter 5
Chapter 5Chapter 5
Chapter 5
Dasrat goswami
 
2.fundamental of testing
2.fundamental of testing2.fundamental of testing
2.fundamental of testing
Bobi Henfajri Setiawan
 
2 . fundamental test process
2 . fundamental test process2 . fundamental test process
2 . fundamental test process
sabrian SIF
 
Testing overview
Testing overviewTesting overview
Testing overview
Anandhababu Msj
 
Testing and quality romi
Testing and quality romiTesting and quality romi
Testing and quality romi
romi wisarta
 
Not Your Grandfather's Requirements-Based Testing Webinar – Robin Goldsmith, ...
Not Your Grandfather's Requirements-Based Testing Webinar – Robin Goldsmith, ...Not Your Grandfather's Requirements-Based Testing Webinar – Robin Goldsmith, ...
Not Your Grandfather's Requirements-Based Testing Webinar – Robin Goldsmith, ...
XBOSoft
 
Fundamentals of testing
Fundamentals of testingFundamentals of testing
Fundamentals of testing
Novika Damai Yanti
 
Fundamentals of testing
Fundamentals of testingFundamentals of testing
Fundamentals of testing
M HiDayat
 
Fundamental test process
Fundamental test processFundamental test process
Fundamental test process
Aji Pamungkas Prasetio
 
Fundamental test process
Fundamental test processFundamental test process
Fundamental test process
Yoga Setiawan
 
Software Testing Interview Q&A – part 1
Software Testing Interview Q&A – part 1Software Testing Interview Q&A – part 1
Software Testing Interview Q&A – part 1
Khoa Bui
 

What's hot (20)

Test Requirements
Test RequirementsTest Requirements
Test Requirements
 
HCLT Whitepaper: Landmines of Software Testing Metrics
HCLT Whitepaper: Landmines of Software Testing MetricsHCLT Whitepaper: Landmines of Software Testing Metrics
HCLT Whitepaper: Landmines of Software Testing Metrics
 
Fundamental test process (andika m)
Fundamental test process (andika m)Fundamental test process (andika m)
Fundamental test process (andika m)
 
Fundamental test process 1
Fundamental test process 1Fundamental test process 1
Fundamental test process 1
 
Test Case, Use Case and Test Scenario
Test Case, Use Case and Test ScenarioTest Case, Use Case and Test Scenario
Test Case, Use Case and Test Scenario
 
Adisak_Resume - Official_2
Adisak_Resume - Official_2Adisak_Resume - Official_2
Adisak_Resume - Official_2
 
201008 Software Testing Notes (part 1/2)
201008 Software Testing Notes (part 1/2)201008 Software Testing Notes (part 1/2)
201008 Software Testing Notes (part 1/2)
 
Fundamental test process
Fundamental test processFundamental test process
Fundamental test process
 
Fundamental test process
Fundamental test processFundamental test process
Fundamental test process
 
Chapter 5
Chapter 5Chapter 5
Chapter 5
 
2.fundamental of testing
2.fundamental of testing2.fundamental of testing
2.fundamental of testing
 
2 . fundamental test process
2 . fundamental test process2 . fundamental test process
2 . fundamental test process
 
Testing overview
Testing overviewTesting overview
Testing overview
 
Testing and quality romi
Testing and quality romiTesting and quality romi
Testing and quality romi
 
Not Your Grandfather's Requirements-Based Testing Webinar – Robin Goldsmith, ...
Not Your Grandfather's Requirements-Based Testing Webinar – Robin Goldsmith, ...Not Your Grandfather's Requirements-Based Testing Webinar – Robin Goldsmith, ...
Not Your Grandfather's Requirements-Based Testing Webinar – Robin Goldsmith, ...
 
Fundamentals of testing
Fundamentals of testingFundamentals of testing
Fundamentals of testing
 
Fundamentals of testing
Fundamentals of testingFundamentals of testing
Fundamentals of testing
 
Fundamental test process
Fundamental test processFundamental test process
Fundamental test process
 
Fundamental test process
Fundamental test processFundamental test process
Fundamental test process
 
Software Testing Interview Q&A – part 1
Software Testing Interview Q&A – part 1Software Testing Interview Q&A – part 1
Software Testing Interview Q&A – part 1
 

Similar to Test design techniques nopri wahyudi

IDENTIFYING TEST CONDITIONS AND DESIGNING TEST CASES
IDENTIFYING TEST CONDITIONS AND DESIGNING TEST CASESIDENTIFYING TEST CONDITIONS AND DESIGNING TEST CASES
IDENTIFYING TEST CONDITIONS AND DESIGNING TEST CASES
Nathandisya
 
Testing 3 test design techniques
Testing 3 test design techniquesTesting 3 test design techniques
Testing 3 test design techniques
Mini Marsiah
 
Fundamental test process
Fundamental test processFundamental test process
Fundamental test process
M Branikno Ramadhan
 
Fundamental test process
Fundamental test processFundamental test process
Fundamental test process
muhammad afif
 
Fundamental Of Testing
Fundamental Of TestingFundamental Of Testing
Fundamental Of Testing
suci maisaroh
 
Test design techniques
Test design techniquesTest design techniques
Test design techniques
Riski Indra Hilman
 
01. foundamentals of testing
01. foundamentals of testing01. foundamentals of testing
01. foundamentals of testing
Tricia Karina
 
Test Design Techiques
Test Design TechiquesTest Design Techiques
Test Design Techiques
suci maisaroh
 
Fundamentals of testing
Fundamentals of testingFundamentals of testing
Fundamentals of testing
ANDRI HAIRIYADI, S.Kom.
 
Fundamentals of testing
Fundamentals of testingFundamentals of testing
Fundamentals of testing
Suci Ayu Mawarni
 
Fundamental test process
Fundamental test processFundamental test process
Fundamental test process
Irvan Febry
 
Chapter 1 Fundamentals of Testing
Chapter 1 Fundamentals of TestingChapter 1 Fundamentals of Testing
Chapter 1 Fundamentals of Testing
Zetryan Satria
 
Fundamental Test Process
Fundamental Test ProcessFundamental Test Process
Fundamental Test Process
RakhesLeoPutra
 
Generating Test Cases
Generating Test CasesGenerating Test Cases
Generating Test Cases
VivekRajawat9
 
Rekno widyawati
Rekno widyawatiRekno widyawati
Rekno widyawati
Rekno Widyawati
 
Test case writing
Test case writingTest case writing
Test case writing
Afsarah Jahin
 
Test analysis identifying test conditions
Test analysis identifying test conditionsTest analysis identifying test conditions
Test analysis identifying test conditions
romi wisarta
 
Fundamentals of testing
Fundamentals of testingFundamentals of testing
Fundamentals of testing
YAObbiIkhsan
 
Test Cases Maintaining & Documenting
Test Cases Maintaining & DocumentingTest Cases Maintaining & Documenting
Test Cases Maintaining & Documenting
Seyed Ali Marjaie
 
Concerns with Software Testing Process
Concerns with Software Testing Process Concerns with Software Testing Process
Concerns with Software Testing Process
Alisha Henderson
 

Similar to Test design techniques nopri wahyudi (20)

IDENTIFYING TEST CONDITIONS AND DESIGNING TEST CASES
IDENTIFYING TEST CONDITIONS AND DESIGNING TEST CASESIDENTIFYING TEST CONDITIONS AND DESIGNING TEST CASES
IDENTIFYING TEST CONDITIONS AND DESIGNING TEST CASES
 
Testing 3 test design techniques
Testing 3 test design techniquesTesting 3 test design techniques
Testing 3 test design techniques
 
Fundamental test process
Fundamental test processFundamental test process
Fundamental test process
 
Fundamental test process
Fundamental test processFundamental test process
Fundamental test process
 
Fundamental Of Testing
Fundamental Of TestingFundamental Of Testing
Fundamental Of Testing
 
Test design techniques
Test design techniquesTest design techniques
Test design techniques
 
01. foundamentals of testing
01. foundamentals of testing01. foundamentals of testing
01. foundamentals of testing
 
Test Design Techiques
Test Design TechiquesTest Design Techiques
Test Design Techiques
 
Fundamentals of testing
Fundamentals of testingFundamentals of testing
Fundamentals of testing
 
Fundamentals of testing
Fundamentals of testingFundamentals of testing
Fundamentals of testing
 
Fundamental test process
Fundamental test processFundamental test process
Fundamental test process
 
Chapter 1 Fundamentals of Testing
Chapter 1 Fundamentals of TestingChapter 1 Fundamentals of Testing
Chapter 1 Fundamentals of Testing
 
Fundamental Test Process
Fundamental Test ProcessFundamental Test Process
Fundamental Test Process
 
Generating Test Cases
Generating Test CasesGenerating Test Cases
Generating Test Cases
 
Rekno widyawati
Rekno widyawatiRekno widyawati
Rekno widyawati
 
Test case writing
Test case writingTest case writing
Test case writing
 
Test analysis identifying test conditions
Test analysis identifying test conditionsTest analysis identifying test conditions
Test analysis identifying test conditions
 
Fundamentals of testing
Fundamentals of testingFundamentals of testing
Fundamentals of testing
 
Test Cases Maintaining & Documenting
Test Cases Maintaining & DocumentingTest Cases Maintaining & Documenting
Test Cases Maintaining & Documenting
 
Concerns with Software Testing Process
Concerns with Software Testing Process Concerns with Software Testing Process
Concerns with Software Testing Process
 

Recently uploaded

BÀI TẬP DẠY THÊM TIẾNG ANH LỚP 7 CẢ NĂM FRIENDS PLUS SÁCH CHÂN TRỜI SÁNG TẠO ...
BÀI TẬP DẠY THÊM TIẾNG ANH LỚP 7 CẢ NĂM FRIENDS PLUS SÁCH CHÂN TRỜI SÁNG TẠO ...BÀI TẬP DẠY THÊM TIẾNG ANH LỚP 7 CẢ NĂM FRIENDS PLUS SÁCH CHÂN TRỜI SÁNG TẠO ...
BÀI TẬP DẠY THÊM TIẾNG ANH LỚP 7 CẢ NĂM FRIENDS PLUS SÁCH CHÂN TRỜI SÁNG TẠO ...
Nguyen Thanh Tu Collection
 
How to Make a Field Mandatory in Odoo 17
How to Make a Field Mandatory in Odoo 17How to Make a Field Mandatory in Odoo 17
How to Make a Field Mandatory in Odoo 17
Celine George
 
BBR 2024 Summer Sessions Interview Training
BBR  2024 Summer Sessions Interview TrainingBBR  2024 Summer Sessions Interview Training
BBR 2024 Summer Sessions Interview Training
Katrina Pritchard
 
HYPERTENSION - SLIDE SHARE PRESENTATION.
HYPERTENSION - SLIDE SHARE PRESENTATION.HYPERTENSION - SLIDE SHARE PRESENTATION.
HYPERTENSION - SLIDE SHARE PRESENTATION.
deepaannamalai16
 
مصحف القراءات العشر أعد أحرف الخلاف سمير بسيوني.pdf
مصحف القراءات العشر   أعد أحرف الخلاف سمير بسيوني.pdfمصحف القراءات العشر   أعد أحرف الخلاف سمير بسيوني.pdf
مصحف القراءات العشر أعد أحرف الخلاف سمير بسيوني.pdf
سمير بسيوني
 
spot a liar (Haiqa 146).pptx Technical writhing and presentation skills
spot a liar (Haiqa 146).pptx Technical writhing and presentation skillsspot a liar (Haiqa 146).pptx Technical writhing and presentation skills
spot a liar (Haiqa 146).pptx Technical writhing and presentation skills
haiqairshad
 
writing about opinions about Australia the movie
writing about opinions about Australia the moviewriting about opinions about Australia the movie
writing about opinions about Australia the movie
Nicholas Montgomery
 
Film vocab for eal 3 students: Australia the movie
Film vocab for eal 3 students: Australia the movieFilm vocab for eal 3 students: Australia the movie
Film vocab for eal 3 students: Australia the movie
Nicholas Montgomery
 
RESULTS OF THE EVALUATION QUESTIONNAIRE.pptx
RESULTS OF THE EVALUATION QUESTIONNAIRE.pptxRESULTS OF THE EVALUATION QUESTIONNAIRE.pptx
RESULTS OF THE EVALUATION QUESTIONNAIRE.pptx
zuzanka
 
Nutrition Inc FY 2024, 4 - Hour Training
Nutrition Inc FY 2024, 4 - Hour TrainingNutrition Inc FY 2024, 4 - Hour Training
Nutrition Inc FY 2024, 4 - Hour Training
melliereed
 
REASIGNACION 2024 UGEL CHUPACA 2024 UGEL CHUPACA.pdf
REASIGNACION 2024 UGEL CHUPACA 2024 UGEL CHUPACA.pdfREASIGNACION 2024 UGEL CHUPACA 2024 UGEL CHUPACA.pdf
REASIGNACION 2024 UGEL CHUPACA 2024 UGEL CHUPACA.pdf
giancarloi8888
 
BIOLOGY NATIONAL EXAMINATION COUNCIL (NECO) 2024 PRACTICAL MANUAL.pptx
BIOLOGY NATIONAL EXAMINATION COUNCIL (NECO) 2024 PRACTICAL MANUAL.pptxBIOLOGY NATIONAL EXAMINATION COUNCIL (NECO) 2024 PRACTICAL MANUAL.pptx
BIOLOGY NATIONAL EXAMINATION COUNCIL (NECO) 2024 PRACTICAL MANUAL.pptx
RidwanHassanYusuf
 
Chapter wise All Notes of First year Basic Civil Engineering.pptx
Chapter wise All Notes of First year Basic Civil Engineering.pptxChapter wise All Notes of First year Basic Civil Engineering.pptx
Chapter wise All Notes of First year Basic Civil Engineering.pptx
Denish Jangid
 
Leveraging Generative AI to Drive Nonprofit Innovation
Leveraging Generative AI to Drive Nonprofit InnovationLeveraging Generative AI to Drive Nonprofit Innovation
Leveraging Generative AI to Drive Nonprofit Innovation
TechSoup
 
Philippine Edukasyong Pantahanan at Pangkabuhayan (EPP) Curriculum
Philippine Edukasyong Pantahanan at Pangkabuhayan (EPP) CurriculumPhilippine Edukasyong Pantahanan at Pangkabuhayan (EPP) Curriculum
Philippine Edukasyong Pantahanan at Pangkabuhayan (EPP) Curriculum
MJDuyan
 
Benner "Expanding Pathways to Publishing Careers"
Benner "Expanding Pathways to Publishing Careers"Benner "Expanding Pathways to Publishing Careers"
Benner "Expanding Pathways to Publishing Careers"
National Information Standards Organization (NISO)
 
Pengantar Penggunaan Flutter - Dart programming language1.pptx
Pengantar Penggunaan Flutter - Dart programming language1.pptxPengantar Penggunaan Flutter - Dart programming language1.pptx
Pengantar Penggunaan Flutter - Dart programming language1.pptx
Fajar Baskoro
 
BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 9 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2024-2025 - ...
BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 9 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2024-2025 - ...BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 9 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2024-2025 - ...
BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 9 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2024-2025 - ...
Nguyen Thanh Tu Collection
 
RHEOLOGY Physical pharmaceutics-II notes for B.pharm 4th sem students
RHEOLOGY Physical pharmaceutics-II notes for B.pharm 4th sem studentsRHEOLOGY Physical pharmaceutics-II notes for B.pharm 4th sem students
RHEOLOGY Physical pharmaceutics-II notes for B.pharm 4th sem students
Himanshu Rai
 
Pharmaceutics Pharmaceuticals best of brub
Pharmaceutics Pharmaceuticals best of brubPharmaceutics Pharmaceuticals best of brub
Pharmaceutics Pharmaceuticals best of brub
danielkiash986
 

Recently uploaded (20)

BÀI TẬP DẠY THÊM TIẾNG ANH LỚP 7 CẢ NĂM FRIENDS PLUS SÁCH CHÂN TRỜI SÁNG TẠO ...
BÀI TẬP DẠY THÊM TIẾNG ANH LỚP 7 CẢ NĂM FRIENDS PLUS SÁCH CHÂN TRỜI SÁNG TẠO ...BÀI TẬP DẠY THÊM TIẾNG ANH LỚP 7 CẢ NĂM FRIENDS PLUS SÁCH CHÂN TRỜI SÁNG TẠO ...
BÀI TẬP DẠY THÊM TIẾNG ANH LỚP 7 CẢ NĂM FRIENDS PLUS SÁCH CHÂN TRỜI SÁNG TẠO ...
 
How to Make a Field Mandatory in Odoo 17
How to Make a Field Mandatory in Odoo 17How to Make a Field Mandatory in Odoo 17
How to Make a Field Mandatory in Odoo 17
 
BBR 2024 Summer Sessions Interview Training
BBR  2024 Summer Sessions Interview TrainingBBR  2024 Summer Sessions Interview Training
BBR 2024 Summer Sessions Interview Training
 
HYPERTENSION - SLIDE SHARE PRESENTATION.
HYPERTENSION - SLIDE SHARE PRESENTATION.HYPERTENSION - SLIDE SHARE PRESENTATION.
HYPERTENSION - SLIDE SHARE PRESENTATION.
 
مصحف القراءات العشر أعد أحرف الخلاف سمير بسيوني.pdf
مصحف القراءات العشر   أعد أحرف الخلاف سمير بسيوني.pdfمصحف القراءات العشر   أعد أحرف الخلاف سمير بسيوني.pdf
مصحف القراءات العشر أعد أحرف الخلاف سمير بسيوني.pdf
 
spot a liar (Haiqa 146).pptx Technical writhing and presentation skills
spot a liar (Haiqa 146).pptx Technical writhing and presentation skillsspot a liar (Haiqa 146).pptx Technical writhing and presentation skills
spot a liar (Haiqa 146).pptx Technical writhing and presentation skills
 
writing about opinions about Australia the movie
writing about opinions about Australia the moviewriting about opinions about Australia the movie
writing about opinions about Australia the movie
 
Film vocab for eal 3 students: Australia the movie
Film vocab for eal 3 students: Australia the movieFilm vocab for eal 3 students: Australia the movie
Film vocab for eal 3 students: Australia the movie
 
RESULTS OF THE EVALUATION QUESTIONNAIRE.pptx
RESULTS OF THE EVALUATION QUESTIONNAIRE.pptxRESULTS OF THE EVALUATION QUESTIONNAIRE.pptx
RESULTS OF THE EVALUATION QUESTIONNAIRE.pptx
 
Nutrition Inc FY 2024, 4 - Hour Training
Nutrition Inc FY 2024, 4 - Hour TrainingNutrition Inc FY 2024, 4 - Hour Training
Nutrition Inc FY 2024, 4 - Hour Training
 
REASIGNACION 2024 UGEL CHUPACA 2024 UGEL CHUPACA.pdf
REASIGNACION 2024 UGEL CHUPACA 2024 UGEL CHUPACA.pdfREASIGNACION 2024 UGEL CHUPACA 2024 UGEL CHUPACA.pdf
REASIGNACION 2024 UGEL CHUPACA 2024 UGEL CHUPACA.pdf
 
BIOLOGY NATIONAL EXAMINATION COUNCIL (NECO) 2024 PRACTICAL MANUAL.pptx
BIOLOGY NATIONAL EXAMINATION COUNCIL (NECO) 2024 PRACTICAL MANUAL.pptxBIOLOGY NATIONAL EXAMINATION COUNCIL (NECO) 2024 PRACTICAL MANUAL.pptx
BIOLOGY NATIONAL EXAMINATION COUNCIL (NECO) 2024 PRACTICAL MANUAL.pptx
 
Chapter wise All Notes of First year Basic Civil Engineering.pptx
Chapter wise All Notes of First year Basic Civil Engineering.pptxChapter wise All Notes of First year Basic Civil Engineering.pptx
Chapter wise All Notes of First year Basic Civil Engineering.pptx
 
Leveraging Generative AI to Drive Nonprofit Innovation
Leveraging Generative AI to Drive Nonprofit InnovationLeveraging Generative AI to Drive Nonprofit Innovation
Leveraging Generative AI to Drive Nonprofit Innovation
 
Philippine Edukasyong Pantahanan at Pangkabuhayan (EPP) Curriculum
Philippine Edukasyong Pantahanan at Pangkabuhayan (EPP) CurriculumPhilippine Edukasyong Pantahanan at Pangkabuhayan (EPP) Curriculum
Philippine Edukasyong Pantahanan at Pangkabuhayan (EPP) Curriculum
 
Benner "Expanding Pathways to Publishing Careers"
Benner "Expanding Pathways to Publishing Careers"Benner "Expanding Pathways to Publishing Careers"
Benner "Expanding Pathways to Publishing Careers"
 
Pengantar Penggunaan Flutter - Dart programming language1.pptx
Pengantar Penggunaan Flutter - Dart programming language1.pptxPengantar Penggunaan Flutter - Dart programming language1.pptx
Pengantar Penggunaan Flutter - Dart programming language1.pptx
 
BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 9 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2024-2025 - ...
BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 9 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2024-2025 - ...BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 9 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2024-2025 - ...
BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 9 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2024-2025 - ...
 
RHEOLOGY Physical pharmaceutics-II notes for B.pharm 4th sem students
RHEOLOGY Physical pharmaceutics-II notes for B.pharm 4th sem studentsRHEOLOGY Physical pharmaceutics-II notes for B.pharm 4th sem students
RHEOLOGY Physical pharmaceutics-II notes for B.pharm 4th sem students
 
Pharmaceutics Pharmaceuticals best of brub
Pharmaceutics Pharmaceuticals best of brubPharmaceutics Pharmaceuticals best of brub
Pharmaceutics Pharmaceuticals best of brub
 

Test design techniques nopri wahyudi

  • 1. Seminar Kerja Praktek – Zuliar Efendi TEST DESIGN TECHNIQUES Program Studi S1 Sistem Informasi Fakultas Sains dan Teknologi Universitas Islam Negeri Sultan Syarif Kasim Riau Pekanbaru 2017 Nopri Wahyudi 11453105420 http://sif.uin-suska.ac.id/ http://fst.uin-suska.ac.id/ http://www.uin-suska.ac.id/ Referensi Graham et.al (2006)(2006
  • 2. Seminar Kerja Praktek – Zuliar Efendi Identifying test conditions and designing test cases Test implementation: specifying test procedures or scripts Test design: specifying test cases Formality of test documentation
  • 3. 4.1 IDENTIFYING TEST CONDITIONS AND DESIGNING TEST CASES 4.1.1 Introduction • Test conditions are documented in a Test Design Specification. • We will look at how to choose test conditions and prioritize them. • Test cases are documented in a Test Case Specification. • We will look at how to write a good test case, showing clear traceability to the test basis • (e.g. the requirement specification) as well as to test conditions. • Test procedures are documented (as you may expect) in a Test Procedure Specification (also known as a test script or a manual test script). • We will look at how to translate test cases into test procedures relevant to the knowledge of the tester who will be executing the test, and we will look at how to produce a test execution schedule, using prioritization and technical and logical dependencies. In this section, look for the definitions of the glossary terms: test case, test case specification, test condition, test data, test procedure specification, test script and traceability.
  • 4. Seminar Kerja Praktek – Zuliar Efendi 4.1.2 Formality of test documentation Testing may be performed with varying degrees of formality. Very formal testing would have extensive documentation which is well controlled, and would expect the documented detail of the tests to include the exact and specific input and expected outcome of the test. Very informal testing may have no documenta-tion at all, or only notes kept by individual testers, but we'd still expect the testers to have in their minds and notes some idea of what they intended to test and what they expected the outcome to be. Most people are probably some-where in between! The right level of formality for you depends on your context: a commercial safety-critical application has very different needs than a one-off application to be used by only a few people for a short time. The level of formality is also influenced by your organization - its culture, the people working there, how mature the development process is, how mature the testing process is, etc. The thoroughness of your test documentation may also depend on your time constraints; under excessive deadline pressure, keeping good documentation may be compromised.
  • 5. Seminar Kerja Praktek – Zuliar Efendi 4.1.3 Test analysis: identifying test conditions Test analysis is the process of looking at something that can be used to derive test information. This basis for the tests is called the 'test basis'. It could be a system requirement, a technical specification, the code itself (for structural testing), or a business process. Sometimes tests can be based on an experienced user's knowledge of the system, which may not be documented. The test basis includes whatever the tests are based on. This was also discussed in Chapter 1. From a testing perspective, we look at the test basis in order to see what could be tested - these are the test conditions. A test condition is simply something that we could test. If we are looking to measure coverage of code decisions (branches), then the test basis would be the code itself, and the list of test conditions would be the decision outcomes (True and False). If we have a requirements specification, the table of contents can be our initial list of test conditions. A good way to understand requirements better is to try to define tests to meet those requirements, as pointed out by [Hetzel, 1988]. For example, if we are testing a customer management and marketing system for a mobile phone company, we might have test conditions that are related to a marketing campaign, such as age of customer (pre-teen, teenager, young adult, mature), gender, postcode or zip code, and purchasing preference (pay-as-you-go or contract). A particular advertising campaign could be aimed at male teenaged customers in the mid-west of the USA on pay-as-you-go, for example
  • 6. Seminar Kerja Praktek – Zuliar Efendi 4.1.4 Test design: specifying test cases Test conditions can be rather vague, covering quite a large range of possibilities as we saw with our mobile phone company example (e.g. a teenager in the mid-west), or a test condition may be more specific (e.g. a particular male customer on pay-as-you-go with less than $10 credit). However when we come to make a test case, we are required to be very specific; in fact we now need exact and detailed specific inputs, not general descriptions (e.g. Jim Green, age 17, living in Grand Rapids, Michigan, with credit of $8.64, expected result: add to Q4 marketing campaign). Note that one test case covers a number of conditions (teenager, male, mid-west area, pay-as-you- go, and credit of less than $10). For a test condition of 'an existing customer', the test case input needs to be 'Jim Green' where Jim Green already exists on the customer database, or part of this test would be to set up a database record for Jim Green. A test case needs to have input values, of course, but just having some values to input to the system is not a test! If you don't know what the system is sup-posed to do with the inputs, you can't tell whether your test has passed or failed.
  • 7. Seminar Kerja Praktek – Zuliar Efendi 4.1.4 Test design: specifying test cases Ideally expected results should be predicted before the test is run - then your assessment of whether or not the software did the right thing will be more objective. For a few applications it may not be possible to predict or know exactly what an expected result should be; we can only do a 'reasonableness check'. In this case we have a 'partial oracle' - we know when something is very wrong, but would probably have to accept something that looked reasonable. An example is when a system has been written to calculate something where it may not be possible to manually produce expected results in a reasonable timescale because the calculations are so complex. In addition to the expected results, the test case also specifies the environ-ment and other things that must be in place before the test can be run (the pre-conditions) and any things that should apply after the test completes (the postconditions).
  • 8. Seminar Kerja Praktek – Zuliar Efendi 4.1.5 Test implementation: specifying test procedures or scripts Some test cases may need to be run in a particular sequence. For example, a test may create a new customer record, amend that newly created record and then delete it. These tests need to be run in the correct order, or they won't test what they are meant to test. The document that describes the steps to be taken in running a set of tests (and specifies the executable order of the tests) is called a test proce-dure in IEEE 829, and is often also referred to as a test script. It could be called a manual test script for tests that are intended to be run manually rather than using a test execution tool. Test script is also used to describe the instructions to a test execution tool. An automation script is written in a programming language that the tool can interpret. (This is an automated test procedure.) See Chapter 6 for more information on this and other types of testing tools. .
  • 9. Seminar Kerja Praktek – Zuliar Efendi Test procedure DB15: Set up customers for marketing campaign Y. Step 1: Open database with write privilege Step 2: Set up customer Bob Flounders male, 62, Hudsonville, contract Step 3: Set up customer Jim Green male, 17, Grand Rapids, pay-as-you-go, $8.64 Step 4: ... We may then have another test procedure to do with the marketing cam-paign: Test procedure MC03: Special offers for low-credit teenagers Step 1: Get details for Jim Green from database Step 2: Send text message offering double credit Step 3: Jim Green requests $20 credit, $40 credited Writing the test procedure is another opportunity to prioritize the tests, to ensure that the best testing is done in the time available. A good rule of thumb is 'Find the scary stuff first'. However the definition of what is 'scary' depends on the business, system or project. For example, is it worse to raise Bob Founders' credit limit when he is not a good credit risk (he may not pay for the credit he asked for) or to refuse to raise his credit limit when he is a good credit risk (he may go elsewhere for his phone service and we lose the opportunity of lots of income from him).
  • 10. Seminar Kerja Praktek – Zuliar Efendi The test procedures, or test scripts, are then formed into a test execution schedule that specifies which procedures are to be run first - a kind of super- script. The test schedule would say when a given script should be run and by whom. The schedule could vary depending on newly perceived risks affecting the priority of a script that addresses that risk, for example. The logical and technical dependencies between the scripts would also be taken into account when scheduling the scripts. For example, a regression script may always be the first to be run when a new release of the software arrives, as a smoke test or sanity check. Returning to our example of the mobile phone company's marketing cam- paign, we may have some tests to set up customers of different types on the database. It may be sensible to run all of the setup for a group of tests first. So our first test procedure would entail setting up a number of customers, includ-ing Jim Green, on the database
  • 11. Seminar Kerja Praktek – Zuliar Efendi Exploratory testing Exploratory testing is a hands-on approach in which testers are involved in minimum planning and maximum test execution. The planning involves the creation of a test charter, a short declaration of the scope of a short (1 to 2 hour) time-boxed test effort, the objectives and possible approaches to be used. The test design and test execution activities are performed in parallel typically without formally documenting the test conditions, test cases or test scripts. This does not mean that other, more formal testing techniques will not be used. For example, the tester may decide to use boundary value analysis but will think through and test the most important boundary values without necessarily writing them down. Some notes will be written during the exploratory-testing session, so that a report can be produced afterwards.