ITPEC FE Morning April 2020 Question 49

Among the different types of software tests, which of the following is a test that is performed with the purpose of checking whether or not a location that must not be affected by changes made for software maintenance is affected?

Explanation

Regression test — after a change, it checks that the parts that should not be affected still work as before.

A fix or enhancement made during maintenance can have side effects on code that was not meant to change, for example through shared data or common routines. A regression test re-runs previously passed test cases on those unchanged parts and confirms their results are the same. Because it is repeated after every change, it is a common target for test automation.

Answer (c)

Why not others:

  • •(a) Integration test — combines unit-tested modules and checks the interfaces between them
  • •(b) Operational test — checks that the system runs correctly in the actual operating environment and procedures, usually with users or operators
  • •(d) System test — checks the whole system against the system requirements, including non-functional ones such as performance

Key rule: Tests aimed at what changed confirm the fix; regression tests aimed at what did not change catch side effects, and every maintenance change needs both.

System Development Technology · AI-written, may contain errors

This question comes from an official ITPEC past paper. ITPEC Practice is an independent study tool and is not affiliated with ITPEC. See the official FE past-paper collection or Report an issue.