Professional Documents
Culture Documents
LIVELIHOOD
EDUCATION
9
COMPUTER SYSTEMS SERVICING
Technology and Livelihood Education– Grade 9
Quarter 4 – Module 12: Testing Component
First Edition, 2020
Republic Act 8293, section 176 states that: No copyright shall subsist in any work
of the Government of the Philippines. However, prior approval of the government
agency or office wherein the work is created shall be necessary for exploitation of
such work for profit. Such agency or office may, among other things, impose as a
condition the payment of royalties.
Borrowed materials (i.e., songs, stories, poems, pictures, photos, brand names,
trademarks, etc.) included in this module are owned by their respective copyright
holders. Every effort has been exerted to locate and seek permission to use these
materials from their respective copyright owners. The publisher and authors do not
represent nor claim ownership over them.
Quarter 4
Self-Learning Module 13
Testing Component
Introductory Message
As a facilitator you are expected to orient the learners on how to use this
module. You also need to keep track of the learners' progress while
allowing them to manage their own learning. Moreover, you are expected
to encourage and assist the learners as they do the tasks included in the
module.
For the learner:
Welcome to the Technology and Livelihood Education Module on Computer
Systems Servicing!
The hand is one of the most symbolized part of the human body. It is often
used to depict skill, action and purpose. Through our hands we may learn,
create and accomplish. Hence, the hand in this learning resource signifies
that you as a learner is capable and empowered to successfully achieve the
relevant competencies and skills at your own pace and time. Your
academic success lies in your own hands!
This module was designed to provide you with fun and meaningful
opportunities for guided and independent learning at your own pace and
time. You will be enabled to process the contents of the learning material
while being an active learner.
This module has the following parts and corresponding icons:
Expectation - These are what you will be able to know after completing the
lessons in the module
Pre-test - This will measure your prior knowledge and the concepts to be
mastered throughout the lesson.
Recap - This section will measure what learnings and skills that you
understand from the previous lesson.
Lesson- This section will discuss the topic for this module.
Wrap Up- This section summarizes the concepts and applications of the
lessons.
Valuing-this part will check the integration of values in the learning
competency.
Post-test - This will measure how much you have learned from the entire module.
EXPECTATION
At the end of the lesson, the students should be able to:
A. define component testing;
B. describe the four levels of testing;
C. appreciate the importance of component testing.
PRETEST
Choose the letter of the correct answer.
2. These values are used to determine how many test cases to construct.
a. Component Implementations
b. Component Specifications
c. Project Test Plan
d. System Requirements
L E S S ON
Testing Component
In this case, the modules or the units are tested independently. Each module
receives an input, performs some processing and produces the output. The output
is then validated against the expected feature. The software applications are huge in
nature and it is a question to test the entire system. It may run into many gaps in
the test coverage. Before continuing into Integration testing or functional testing, it
is recommended to start with Component testing.
Component Testing is a sort of white box testing. It looks for bugs and
validates the functioning of the modules/programs which are individually testable.
Test strategy and test plan are needed for component testing. There is a test setting
for each component which are broken down in test cases. The following diagram
represents the process:
The four major inputs to component level testing are:
1. Project Test Plan - This plan will provide information such as the expected
levels of specification and code coverage. These values will be used to
determine how many test cases to construct.
2. System Requirements – It is a detailed and structured use case model
which can assist in determining the required behaviors for individual
domain-level classes sufficiently. The use case model is also used to create
the use profile to determine which parts of a component should be tested
more than other parts.
3. Component Specifications – In component specification, there are three
types of properties should be included from which the functional test cases
will be built.
After creating the component, it immediately tested. There are chances that the
results retrieved from a component under test are dependent on other components
which in turn are not developed as of now. As to the development lifecycle model,
component testing may be performed separately from other components of the
system. The separation is done to prevent external influences. So, to test the
component, we use Stubs and Drivers for simulating the interface between software
components.
ACTIVITY
2. System Requirements
_________________________________________________________________________
_________________________________________________________________________
4. Component Specifications
________________________________________________________________________
________________________________________________________________________
5. Component Implementations
________________________________________________________________________
________________________________________________________________________
WRAP–UP
POST TEST
______________________________________
2. These values are used to determine how many test cases to construct.
______________________________________
______________________________________
_______________________________________
______________________________________
KEYTOCORRECTION
COMPONENT IMPLEMENTATION 5. A 5.
COMPONENT SPECIFICATION 4. B 4.
SYSTEM REQUIREMENT 3. D 3.
PROJECT TEST PLAN 2. C 2.
COMPONENT 1. B 1.
POST TEST PRETEST
R E F E R E N CE S
Shekhar, David (MBCS), Sindhu, Kimaya Sathi, Software Testing Books, Sree
Sudha, Nikita, Akash Bisht, Harsha K. M, Pranita, and Jerome. "What Is
Component Testing Or Module Testing (Learn With Examples)." Software
Testing Help. February 18, 2021. Accessed February 22, 2021.
https://www.softwaretestinghelp.com/what-is-component-testing-or-
module-testing/.