CH14 Flashcards
_____________ is the process of examining a component, subsystem,
or system to determine its operational characteristics and
whether it contains any defects
Testing
________ is the formal description of a starting state, one or more events to which the software must respond, and the expected response or ending state
Test case
T/F: A test case is defined based on well understood functional requirements only.
F, functional and non-functional requirements.
T/F: A test case MUST test all normal and exception situations.
T
________ is a set of starting states and events used to test a module, group of modules, or entire system
Test Data
T/F: Test data is the data that will be used for a test case.
T.
Name the core process of the following test type:
Unit testing
Implementation
Name the core process of the following test type:
Integration testing
Implementation
Name the core process of the following test type:
System and stress testing
Deployment
Name the core process of the following test type:
User acceptance testing
Deployment
Name the test type that serves the following purpose/need:
Software components that perform correctly in isolation must also perform correctly when executed in combination with other components.
They must communicate correctly with other components in the system.
For example a sales tax component that calculates incorrectly when receiving money amounts in foreign currencies is unacceptable.
Integration testing
Name the test type that serves the following purpose/need:
Software components must perform to the defined requirements and specifications when tested in isolation – for example, a component that incorrectly calculates sales tax amounts in different locations is
unacceptable.
Unit testing
Name the test type that serves the following purpose/need:
Software must not only operate correctly. but must also satisfy the business need and meet all user “ease of use” and “completeness” requirements-for example, a commission system that fails to handle special promotions or a data-entry function with a poorly designed sequence of forms is unacceptable.
User acceptance testing
Name the test type that serves the following purpose/need:
A system or subsystem must meet both functional and non-functional requirements. For example an item lookup function in a Sales subsystems retrieves data within 2 seconds when running in isolation, but requires 30 seconds when running within the complete system with a live database.
System and stress
testing
_________ are the tests of an individual method, class, or component before it is integrated with other software.
Unit tests
In Unit testing, _________ is a method or class developed for unit testing that simulates the behavior of a method that sends a message to the method being tested.
Driver
In Unit testing, ________ is a method or class developed for unit testing that simulates the behavior of a method invoked that hasn’t yet been written.
Stub
__________ are the tests of the behavior of a group of methods, classes, or components
Integration tests
_____________ in Integration testing is when for example, one method passes a parameter of the wrong data type to another method.
Interface incompatibility
__________ in Integration testing is a method is passed or returns a value that was unexpected, such as a negative number for a price.
Parameter values
__________ in Integration testing, is a method generates an error, such as “out of memory” or “file already in use,” due to conflicting resource needs.
Run-time exceptions
_____________ are the states of two or more objects interact to cause complex failures, as when an OnlineCart class method operates correctly for all possible Customer object states except one.
Unexpected state interactions
T/F: Integration testing of object-oriented software is very
complex because an object-oriented program consists of a
set of interacting objects.
T
T/F: Building and unit testing the components to be integrated is a required procedure of Integration testing.
T
T/F: Before conducting the integration test, a comprehensive test data that is coordinated between developers must be created.
T
After conducting the integration test, we must evaluate the ______ _______, to identify valid and invalid responses.
test results
When we log test results after evaluating the test results of an integration test, it includes logging ______ and ______.
valid test runs, errors.
T/F: The final required procedure of Integration testing is logging the test results.
F, it is to correct the code and retest it
T/F: Assigning resources and
responsibilities, and planning frequency and procedures, is done through the integration test conducting procedure.
T
____________ is an integration test of an entire system or independent subsystem
System test