Professional Documents
Culture Documents
AND LIVELIHOOD
EDUCATION
9
COMPUTER SYSTEMS SERVICING
Self-Learning Module 7
Testing Methods for Electronic
Components
Quarter 4
Writer: Neil O. Gagarino
Editors: Maria O. del Barrio, Jhoanna V. Navata
Reviewers: Maria O. del Barrio, Jhoanna V. Navata
EXPECTATIONS
PRETEST
Directions: Write True if the statement is correct and False if the statement is
incorrect. Write your answer on the space provided.
_________ 1. The developers conduct component testing where they test the individual
functionality or mechanism.
_________ 2. Testing individual programs and modules to demonstrate the program
executed as per the specification is called component testing.
_________ 3. Component testing is done by developers.
_________ 4. Component testing is done by testers.
_________ 5. Component testing is done after unit testing is completed from the
developers end.
RECAP
Yesterday we discussed Functionality. Let us test your memory if you can
still recall. Complete the puzzle below:
Functionality, includes the following:
1. LITYINTERAREPOBI - ______________________________
a type of software testing that tests whether other software
components and systems may communicate with the software.
2. LITYBILIARE TINGEST - ____________________________
Ensures that the product is free of faults and accurate for its intended
function.
3. MANCEFORPER TINGEST - ________________________
It checks the speed, response time, reliability, resource usage,
scalability of a software program under their expected workload.
4. TINGPEORA MERAPATER - _________________________
It is a set of facts which describes and puts limits on how something
should happen or be done by a person to control the functioning of a
machine, process, or system.
5. NACLIONTUNF TINGEST - __________________________
ensures that the specifications are met by the application properly.
L E S S ON
Testing Methods for
Electronic components
What is Component testing?
Component testing is referred to as a software testing type, in which the testing
is performed on each individual component separately without integrating with other
components. The other term for component testing is module testing when it is
viewed from an architecture perspective. Component Testing is also referred to as
unit testing, program testing or module testing.
The purpose is to find the defect in the module and verifies the functioning of
software.
Example of CTIS: Consider a website which has 5 different web pages then
testing each webpage separately & with the isolation of other components is
referred as Component testing in Small.
The developer has developed the component B and wants it tested. But in
order to completely test the component B, few of its functionalities are dependent
on component A and few on component C.
The developer has created the B portion and wants it to be tested. However, in
order to evaluate Component B absolutely, few of its functions rely on Component A
and few on Component C.
Functionality Flow: A- > B- > C which means that both A and C are dependent
on B, as the diagram stub is called function, and the driver is called function.
Component A and Component C have not yet been developed. In that case, to
test Component B fully, we can replace Component A and Component C with Stub
and Drivers as needed. So essentially, the A & C part is replaced by the stub & driver,
which acts as a dummy object before it is actually created.
Component testing plays a very important role in finding the bugs. Before we
start with the integration testing it’s always preferable to do the component testing
in order to ensure that each component of an application is working effectively.
Here is a table that shows the differences between Unit testing and
Component testing:
Unit Testing Component Testing
Testing individual programs, modules Testing each object or parts of the
to demonstrate that program executes software separately with or without
as per the specification is called Unit isolation of other objects is
Testing called Component Testing
Its validated against design documents Its validated against test requirements,
use cases
Directions: Answer the exercises below. Write your answer on the space provided.
A. What are the testing method techniques?
a. _______________________
b. _______________________
WRAP–UP
VALUING
1. What if you failed in using the different method in component testing? How will
you resolve the problem? Give example to support your answer.
___________________________________________________________________________
___________________________________________________________________________
_______________________________.
Pretest Posttest Recap
1. False 1. CT 1. Interoperability
2. False 2. UT 2. Reliability testing
3. False 3. UT 3. Performance testing
4. True 4. CT 4. Operating Parameter
5. True 5. CT 5. Functional testing
Activities:
1. The testing method techniques are unit testing and component
testing.
2. The unit testing test individual programs, modules to demonstrate
that program executes as per the specification while component
testing, test each object or parts of the software separately with or
without isolation of other objects.
Unit testing is conducted at a granular level. On the other hand,
component testing is done at the application level. In unit testing, it is
verified if an individual program or the piece of code is getting executed
as per the specified. In component testing, each object of the software
is tested separately with or without isolation with other
components/object of the system.
Component testing plays a very important role in finding the bugs.
Before we start with the integration testing it’s always preferable to do
the component testing in order to ensure that each component of an
application is working effectively.
KEYTOCORRECTION
_________ 5. It is done after unit testing is complete from the developers end.
_________ 4. Testing is done by Testers
_________ 3. Testing is done by Developers
executes as per the specification
_________ 2. Tests individual programs and modules to demonstrate that program
of an application.
_________ 1. A technique where testing is performed separately for each component
provided.
statement refers to Unit Testing. Write your answer on the space
Directions: Write CT if the statement refers to Component Testing and UT if the
TEST POST
R E F E R E N CE S
Says, Abhi Raj, Surinder Says, Mehmet says, Ehsan says, Vinayak More Says, Arnab
says, Neha says, and ISTQB Guide says. “Home.” Try QA. Accessed October 11,
2020. http://tryqa.com/what-is-component-testing/.