Professional Documents
Culture Documents
CHAPTER 1
BEFORE WE START…..
https://universititenaga.padlet.org/Ramona/oua6time638r3n1p
Introduce yourself :
Name
Age
Programme
Location
Life Quote
Latest picture of yourself
TOPICS
The process consisting of all lifecycle activities, both static and dynamic,
concerned with planning, preparation and evaluation of a component or system
and related work products to determine that they satisfy specified requirements,
to demonstrate that they are fit for purpose and to detect defects.
Provide examples for the objectives of testing in different phases of the software life cycle
Plan Analysis
Implementation Design
7
TESTING AND DEBUGGING
Testing Debugging
Show failures that are caused by defects in the Part of development activity that finds, analyzes, and fixes
software defects
Done by tester Done by developer
TOPICS
System Example
Failures : Student unable to access the padlet
Defects : Padlet setting = private
Errors : lecturer did not change the setting to shared
WHY ERRORS OCCURS?
Miscommunication
Inexperienced or between project
Time pressure Human fallibility insufficiently skilled project participants, including
participants miscommunication about
requirements and design
Misunderstandings about
Complexity of the code,
intra-system and inter-
design, architecture, the
system interfaces, especially New, unfamiliar
underlying problem to be
when such intra system and technologies
solved, and/or the
inter-system interactions
technologies used
are large in number
LET’S THINK! PART 1
Identify error, defect, and failure
Test
Test Test Test Test
monitoring Test analysis Test design
planning implementation execution completion
and control
Define
the objectives of testing
TEST the approach for meeting test
objectives within constraints imposed
PLANNING by the context
may be revisited based on feedback
from monitoring and control activities.
TEST ACTIVITIES AND TASKS
Test
Test Test Test Test
monitoring Test analysis Test design
planning implementation execution completion
and control
TEST MONITORING AND CONTROL
Test Monitoring
Test control
The on-going comparison of
actual progress against Take actions necessary to
planned progress using any meet the objectives of the
test monitoring metrics test plan Test progress
defined in the test plan. supports • communicated to
stakeholders
• Includes
• deviations from the plan
• information to support
any decision to stop
Evaluation of exit criteria testing
TEST ACTIVITIES AND TASKS
Test
Test Test Test Test
monitoring Test analysis Test design
planning implementation execution completion
and control
TEST ANALYSIS
Analyzing the test basis Evaluating the test basis and test
Identifying features and sets of
appropriate to the test level being items to identify defects of various
features to be tested
considered types
Ambiguities
Omissions
Inconsistencies
Inaccuracies
Contradictions
Superfluous statements
THE OVERVIEW
Test basis
SRS for Food
Ordering System
Test Item Test Condition
New Customer To check that user should be able to
Registration submit the new customer
registration form
Test object
Food Ordering
System
TEST ACTIVITIES AND TASKS
Test
Test Test Test Test
monitoring Test analysis Test design
planning implementation execution completion
and control
Designing and Identifying Designing the Capturing bi-
prioritizing test necessary test test environment directional
cases and sets of data to support and identifying traceability
test cases test conditions any required between the test
and test cases infrastructure basis, test
and tools conditions, and
test cases
Test case: A set of preconditions, inputs, actions (where applicable), expected results and postconditions, developed based on test conditions.
Test data : Data needed for test execution.
Test environment: An environment containing hardware, instrumentation, simulators, software tools, and other support elements needed to conduct a test.
TEST DESIGN
THE OVERVIEW….
High level Test Case Test data
TC1 : User submit form with valid data Alice
Alice@gmail.com
Alice123
TC2: User submit form with invalid data Alice123
Test basis Alice@gmail
SRS for Food Alice123
Ordering System
Test Item Test Case ID TC1
New Customer Test Condition
To check that user Test Case Description User submit form with valid data
Registration Form
-Name should be able to submit Test Case Pre-Condition User must not register before
-Email Address the new customer
-Password registration form Test Data Alice
Alice@gmail.com
Alice123
Test Steps 1. Use clicks on new customer link
Test object 2. System displays the new customer
Food Ordering registration form
3. User fills up the form
System
4. User submit the submit button
5. System performs validation data and save in
the database
6. System displays the successful message
Expected result Successful message is display
TEST ACTIVITIES AND TASKS
Test
Test Test Test Test
monitoring Test analysis Test design
planning implementation execution completion
and control
Developing and prioritizing test procedures, and,
potentially, creating automated test scripts
Creating test suites from the test procedures and (if
any) automated test scripts
Arranging the test suites within a test execution
schedule in a way that results in efficient test execution
TEST Building the test environment (including, potentially,
test harnesses, service virtualization, simulators, and
IMPLEMENTATION other infrastructure items) and verifying that everything
needed has been set up correctly
Preparing test data and ensuring it is properly loaded in
test procedure
A sequence of test cases in execution order, and any associated actions that
the test environment
may be required to set up the initial preconditions and any wrap up activities
post execution. Verifying and updating bi-directional traceability
test suite
A set of test scripts or test procedures to be executed in a specific test run. between the test basis, test conditions, test cases, test
test execution
The activity that runs a test on a component or system producing actual
procedures, and test suites
results.
test harness
A test environment comprised of stubs and drivers needed to execute a test
suite.
THE OVERVIEW…. High level Test Case Test data
TC1 : User submit form Alice
with valid data Alice@gmail.com
Alice123
Test
Test Test Test Test
monitoring Test analysis Test design
planning implementation execution completion
and control
Recording the IDs and versions of the test item(s) or test
object, test tool(s), and testware
Executing tests either manually or by using test execution tools
Comparing actual results with expected results
Analyzing anomalies to establish their likely causes (e.g.,
failures may occur due to defects in the code, but false
TEST positives also may occur
Reporting defects based on the failures
EXECUTION Logging the outcome of test execution (e.g., pass, fail, blocked)
Repeating test activities either as a result of action taken for an
anomaly, or as part of the planned testing (e.g., execution of a
corrected test, confirmation testing, and/or regression testing)
Verifying and updating bi-directional traceability between the
test basis, test conditions, test cases, test procedures, and test
results.
TEST ACTIVITIES AND TASKS
Test
Test Test Test Test
monitoring Test analysis Test design
planning implementation execution completion
and control
Checking whether all defect reports are closed,
entering change requests or product backlog
items for any defects that remain unresolved at
the end of test execution
Creating a test summary report to be
communicated to stakeholders
Identification of
Sets of high-level Identification and Design of test
Test design Test cases infrastructure and
test cases design of test data environment
tools
professional pessimism
attention to detail
55
END OF
CHAPTER1!