CISSP Practice question #92

In software testing, unit testing would test what?
A: The functionality of a specific section of code.
B: Interfaces between components against the software design.
C: Data handling passed between different units or subsystems.
D: Processes and security alerts when encountering errors.

CBK 6: Security Assessment and Testing
Source: ThorTeaches.com practice tests

Answer


A: Unit testing: Tests that verify the functionality of a specific section of code. In an object-oriented environment, this is usually at the class level, and the minimal unit tests include the constructors and destructors. Usually written by developers as they work on code (white-box), to ensure that the specific function is working as expected.

show less

IT & Cyber Security trainer
Sharing my knowledge, to help you reach your IT certification goals.
CISSP, C|EH, PMP, CCNP, CompTIA Security+, SCP, CCNA-Security, CCNA, et. Al.

You may also like

19 Comments

Leave a Reply