Chapter 6 Tool Support for Testing Flashcards

1
Q

Which one of the following is MOST likely to be a benefit of test execution tools?

A. It is easy to create regression tests.

B. It is easy to maintain version control of test assets.

C. It is easy to design tests for security testing.

D. It is easy to run regression tests.

A

D. It is easy to run regression tests.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Which test tool (A-D) is characterized by the classification (1-4) below?

  1. Tool support for management of testing and testware.
  2. Tool support for static testing.
  3. Tool support for test execution and logging.
  4. Tool support for performance measurement and dynamic analysis.

A. Coverage tools.

B. Configuration management tools.

C. Review tools.

D. Monitoring tools.

Choices:

A. 1A, 2B, 3D, 4C.

B. 1B, 2C, 3D, 4A.

C. 1A, 2C, 3D, 4B.

D. 1B, 2C, 3A, 4D

A

D. 1B, 2C, 3A, 4D

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

CAST stands for

A. Computer Aided Software Testing

B. Computer Aided Software Tools

C. Computer Analysis Software Techniques

D. None

A

A. Computer Aided Software Testing

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Which of the following is MOST likely to be used as a reason for using a pilot project to introduce a tool into an organization?

A. The need to evaluate how the tool fits with existing processes and practices and determining what would need to change.

B. The need to evaluate the test automation skills and training, mentoring and coaching needs of the testers who will use the tool.

C. The need to evaluate whether the tool provides the required functionality and does not duplicate existing test tools.

D. The need to evaluate the tool vendor in terms of the training and other support they provide.

A

A. The need to evaluate how the tool fits with existing processes and practices and determining what would need to change.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

You have just completed a pilot project for a regression testing tool. You understand the tool much better, and have tailored your testing process to it. You have standardized an approach to using the tool and its associated work products. Which of the following is a typical test automation pilot project goal that remains to be carried out?

A. Learn more details about the tool

B. See how the tool would fit with existing processes and practices

C. Decide on standard ways of using, managing, storing, and maintaining the tool and the test assets

D. Assess whether the benefits will be achieved at reasonable cost

A

D. Assess whether the benefits will be achieved at reasonable cost

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Which of the following tools is most useful for reporting test metrics?

A. Test management tool

B. Static analysis tool

C. Coverage tool

D. Security tool

A

A. Test management tool

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Who typically use static analysis tools?

A. Customers and users

B. Developers and designers

C. Business and systems analysts

D. System and acceptance testers

A

B. Developers and designers

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Which tools help to support static testing?

A. Static analysis tools and test execution tools.

B. Review process support tools, static analysis tools and coverage measurement tools.

C. Dynamic analysis tools and modeling tools.

D. Review process support tools, static analysis tools and modeling tools.

A

D. Review process support tools, static analysis tools and modeling tools

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Which test activities are supported by test harness or unit test framework tools?

A. Test management and control.

B. Test specification and design.

C. Test execution and logging.

D. Performance and monitoring

A

C. Test execution and logging.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What are the potential benefits from using tools in general to support testing?

A. Greater quality of code, reduction in the number of testers needed, better objectives for testing.

B. Greater repeatability of tests, reduction in repetitive work, objective assessment.

C. Greater responsiveness of users, reduction of tests run, objectives not necessary.

D. Greater quality of code, reduction in paperwork, fewer objections to the tests.

A

B. Greater repeatability of tests, reduction in repetitive work, objective assessment.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What is a potential risk in using tools to support testing?

A. Unrealistic expectations, expecting the tool to do too much.

B. Insufficient reliance on the tool, i.e. still doing manual testing when a test execution tool has been purchased.

C. The tool may find defects that aren’t there.

D. The tool will repeat exactly the same thing it did the previous time.

A

A. Unrealistic expectations, expecting the tool to do too much.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Which of the following are advanced scripting techniques for test execution tools?

A. Data-driven and keyword-driven

B. Data-driven and capture-driven

C. Capture-driven and keyhole-driven

D. Playback-driven and keyword-driven

A

A. Data-driven and keyword-driven

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Which of the following would NOT be done as part of selecting a tool for an organization?

A. Assess organizational maturity, strengths and weaknesses.

B. Roll out the tool to as many users as possible within the organization.

C. Evaluate the tool features against clear requirements and objective criteria.

D. Identify internal requirements for coaching and mentoring in the use of the tool

A

B. Roll out the tool to as many users as possible within the organization.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Which of the following is a goal for a proof-of-concept or pilot phase for tool evaluation?

A. Decide which tool to acquire.

B. Decide on the main objectives and requirements for this type of tool.

C. Evaluate the tool vendor including training, support and commercial aspects.

D. Decide on standard ways of using, managing, storing and maintaining the tool and the test assets.

A

D. Decide on standard ways of using, managing, storing and maintaining the tool and the test assets.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Which test support tool can be used to enforce coding standards?

A. Static Analysis Tool

B. Performance Testing Tool

C. Test Comparator

D. Test Management Tool

A

A. Static Analysis Tool

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Which of the following activities should be performed during the selection and implementation of a testing tool?

i) Investigate the organisation’s test process.
ii) Conduct a proof of concept.
iii) Implement the selected tool on a project behind schedule to save time.
iv) Identify coaching and mentoring requirements for the use of the selected tool.

A. i, ii, iii.

B. ii, iii, iv

C. i, iii, iv

D. i, ii, iv.

A

D. i, ii, iv.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
17
Q

With which of the following categories is a test comparator tool USUALLY associated?

A. Tool support for performance and monitoring.

B. Tool support for static testing.

C. Tool support for test execution and logging.

D. Tool support for the management of testing and tests.

A

C. Tool support for test execution and logging.

18
Q

Which of the following is correct about static analysis tools?

A. They help you find defects rather than failures

B. They are used by developers only

C. They require compilation of code

D. They are useful only for regulated industries

A

A. They help you find defects rather than failures

19
Q

The software engineer’s role in tool selection is

A. To identify, evaluate, and rank tools, and recommend tools to management

B. To determine what kind of tool is needed, then find it and buy it

C. To initiate the tool search and present a case to management

D. To identify, evaluate and select the tools

A

A. To identify, evaluate, and rank tools, and recommend tools to management

20
Q

Tool which stores requirement statements, check for consistency and allow requirements to be prioritized and enable individual tests to be traceable to requirements, functions and features.

A. Incident management tools

B. Requirements management tools

C. Configuration management tools

D. None

A

B. Requirements management tools

21
Q

Which of the following tools would be involved in the automation of regression test?

A. Data tester

B. Boundary tester

C. Capture/Playback

D. Output comparator.

A

C. Capture/Playback

22
Q

When a new testing tool is purchased, it should be used first by:

A. A small team to establish the best way to use the tool

B. Everyone who may eventually have some use for the tool

C. The independent testing team

D. The vendor contractor to write the initial scripts

A

A. A small team to establish the best way to use the tool

23
Q

A typical commercial test execution tool would be able to perform all of the following EXCEPT:

A. Generating expected outputs

B. Replaying inputs according to a programmed script

C. Comparison of expected outcomes with actual outcomes

D. Recording test inputs

E. Reading test values from a data file

A

A. Generating expected outputs

24
Q

The place to start if you want a (new) test tool is:

A. Attend a tool exhibition

B. Invite a vendor to give a demo

C. Analyse your needs and requirements

D. Find out what your budget would be for the tool

E. Search the internet

A

C. Analyse your needs and requirements

25
Q

Defects discovered by static analysis tools include:

i. Variables that are never used.
ii. Security vulnerabilities.
iii. Programming Standard Violations
iv. Uncalled functions and procedures

A. i , ii,iii,iv is correct

B. iii ,is correct I,ii,iv are incorrect.

C. i ,ii, iii and iv are incorrect

D. iv, ii is correct

A

A. i , ii,iii,iv is correct

26
Q

What does a test execution tool enable?

A. Tests to be executed automatically, or semi automatically

B. Tests to be written without human intervention

C. Preparation of test data automatically

D. Manage test assets such as test conditions and test cases

A

A. Tests to be executed automatically, or semi automatically

27
Q

Which tool store information about versions and builds of software and testware?

A. Test Management tool

B. Requirements management tool

C. Configuration management tool

D. Static analysis too;

A

C. Configuration management tool

28
Q

Which one is not characteristic of test management tool?

A. Support for the management of tests and the testing activities carried out

B. Interfaces to test execution tools

C. Quantitative analysis related to tests

D. Check for consistency and undefined requirements

E. None of the above

A

D. Check for consistency and undefined requirements

29
Q

The _________ may facilitate the testing of components or part of a system by simulation the environment in which the test object will run

A. Test Design tool

B. Test data preparation tool

C. Test execution tool

D. Test harness

E. None of the above

A

D. Test harness

30
Q

Which one of the following statements, about capture-replay tools, is NOT correct?

A. They are used to support multi-user testing.

B. They are used to capture and animate user requirements.

C. They are the most frequently purchased types of CAST tool.

D. They capture aspects of user behaviour.

A

D. They capture aspects of user behaviour.

31
Q

Which of the following benefits are MOST likely to be achieved by using test tools?

i) Easy to access information about tests and testing.
ii) Reduced maintenance of testware.
iii) Easy and cheap to implement.
iv) Greater consistency of tests.

A. ii and iv

B. ii and iii

C. i and iv

D. i and iii

A

C. i and iv

32
Q

Which success factors are required for good tool support within an organization?

A. Acquiring the best tool and ensuring that all testers use it.

B. Adapting processes to fit with the use of the tool and monitoring tool use and benefits.

C. Setting ambitious objectives for tool benefits and aggressive deadlines for achieving them.

D. Adopting practices from other successful organizations and ensuring that initial ways of using the tool

are maintained.

A

B. Adapting processes to fit with the use of the tool and monitoring tool use and benefits.

33
Q

Given the following types of tool, which tools would typically be used by developers and

which by an independent test team:

i. Static analysis
ii. Performance testing
iii. Test management
iv. Dynamic analysis
v. Test running
vi. Test data preparation

A. Developers would typically use i, iv and vi; test team ii, iii and v

B. Developers would typically use i and iv; test team ii, iii, v and vi

C. Developers would typically use i, ii, iii and iv; test team v and vi

D. Developers would typically use ii, iv and vi; test team I, ii and v

E. Developers would typically use i, iii, iv and v; test team ii and vi

A

B. Developers would typically use i and iv; test team ii, iii, v and vi

34
Q

Which of the following are benefits and which are risks of using tools to support testing?

  1. Over-reliance on the tool
  2. Greater consistency and repeatability
  3. Subjective assessment
  4. Unrealistic expectations
  5. Underestimating the effort required to maintain the test assets generated by the tool
  6. Ease of access to information about tests or testing
  7. Repetitive work is reduced

A. Benefits: 3, 4, 6 and 7. Risks: 1, 2 and 5

B. Benefits: 1, 2, 3 and 7, Risks: 4, 5 and 6

C. Benefits: 2, 6 and 7. Risks: 1, 4 and 5

D. Benefits: 2, 3, 5 and 6. Risks: 1, 4 and 7

A

C. Benefits: 2, 6 and 7. Risks: 1, 4 and 5

35
Q

Probe Effect is defined as:

A. The process of confirming that a component, system or person complies with

its specified requirements

B. The effect on the component or system by the measurement instrument when the component or system is being measured.

C. An analysis method that determines which parts of the software have been executed (covered) by the test suite and which parts have not been executed.

D. The degree to which a component or system has a design and/or internal structure that is difficult to understand, maintain and verify.

A

B. The effect on the component or system by the measurement instrument when the component or system is being measured.

36
Q

Which of the following activities should be considered before purchasing a tool for an organization?

A. Ensure that the tool does not have a negative impact on existing test process

B. Produce a business justification examining both costs and benefits

C. Determine whether the vendor will continue to provide support for the tool

D. Introduce tool deployment activities into the testing schedule

A. A and D

B. B and C

C. C and D

D. A and C

A

B. B and C

37
Q

Which of the following activities would improve how a tool is deployed within an organization?

A. Defining best practice guidelines for users

B. Roll out the tool across the organization as quickly as possible to all users

C. Provide technical support to the test team for each type of tool

D. Introduce a system to monitor tool usage and user feedback

E. Ensure that the test process is not changed as a result of the tools’ introduction

A. A, B, and C

B. A, C, and D

C. C, D, and E

D. B, D, and E

A

B. A, C, and D

38
Q

These tools are typically used in component and component integration testing and when testing middleware.

A. Monitoring Tools

B. Dynamic Analysis Tools

C. Static Analysis Tools

D. Coverage Measurement Tools

A

B. Dynamic Analysis Tools

39
Q

Which of the following BEST describes a data-driven approach to the use of test execution tools?

A. Monitoring response times when the system contains a specified amount of data

B. Manipulation of databases and files to create test data

C. Using a generic script that reads test input data from a file

D. Recording test scripts and playing them back

A

C. Using a generic script that reads test input data from a file

40
Q

Which of the following BEST describes a keyword-driven testing approach?

A. Test input and expected results are stored in a table or spreadsheet, so that a single control script can execute all of the tests in the table

B. Action-words are defined to cover specific interactions in system (e.g., log-on entries) which can then be used by testers to build their tests

C. Keywords are entered into a test harness to obtain pre-defined test coverage reports

D. The test basis is searched using keywords to help identify suitable test conditions

A

B. Action-words are defined to cover specific interactions in system (e.g., log-on entries) which can then be used by testers to build their tests