What test roles (or parts in the testing process) is a developer most likely to perform?
(i) Executing component integration tests.
(ii) Static analysis.
(iii) Setting up the test environment.
(iv) Deciding how much testing should be automated.
Correct Answer:
A
(i) Executing component integration tests is usually done by developers. Developers are usually responsible for unit and component integration testing. Independent testing usually follows at system and acceptance test levels.
(ii) Static analysis is usually done by developers because: it requires an understanding of the code and therefore the person doing this needs skills in the programming language; and it can be done as soon as the code is written. Therefore it is quick and effective for the developer to do it. The risk of a lack of test independence can be mitigated by performing independent system and acceptance testing.
(iii) Setting up the test environment is an activity typically performed by a tester. It may require support from developers and staff from other departments and on some occasions environments could be set up by developers. However, it is a task that could be done by a tester rather than a developer.
(iv) Deciding how much testing should be automated is typically a decision made by the test leader, who will consult other staff in the decision-making process. Developers may be involved and their skills may be required to automate some tests. However, the decision on how much to automate should not be made by developers.
Which is not the testing objective?
Correct Answer:
D
A new system is about to be developed. Which of the following functions has the highest level of risk?
Correct Answer:
A
In (B) the product of probability × impact has the value £15,000; in (C) the value is £5,000 and in (D) it is £4,000. The value of £20,000 in (A) is therefore the highest.
Which of the following is a benefit of independent testing? 1 credit
Correct Answer:
C
A booking system for a city bus service prices its fares according to the time of travel:
• Peak-time tariff starts at 0600 and finishes at 1000 am
• Off-peak tariff applies during all other times of service
• The bus service does not operate between 2300 and the start of the next day’s peak service Note that all times mentioned are inclusive.
When applying the equivalence partitioning test design technique, which of the following options, shows test case inputs that each fall into a different equivalence partition?
Correct Answer:
D