nerdexam
iSQI

CTFL_SYLL_4.0 · Question #1

The tests at the bottom layer of the test pyramid:

The correct answer is A. run faster than the tests at the top layer of the pyramid. The tests at the bottom layer of the test pyramid run faster than the tests at the top layer of the pyramid because they are more focused, isolated, and atomic. They usually test individual units or components of the software system, such as classes, methods, or functions. They…

Testing Throughout the Software Development Lifecycle

Question

The tests at the bottom layer of the test pyramid:

Options

  • Arun faster than the tests at the top layer of the pyramid
  • Bcover larger pieces of functionalities than the tests at the top layer of the pyramid
  • Care defined as 'Ul Tests' or 'End-To-End tests' in the different models of the pyramid
  • Dare unscripted tests produced by experience-based test techniques

How the community answered

(37 responses)
  • A
    89% (33)
  • B
    3% (1)
  • C
    3% (1)
  • D
    5% (2)

Explanation

The tests at the bottom layer of the test pyramid run faster than the tests at the top layer of the pyramid because they are more focused, isolated, and atomic. They usually test individual units or components of the software system, such as classes, methods, or functions. They are also easier to maintain and execute, as they have fewer dependencies and interactions with other parts of the system. The tests at the top layer of the test pyramid, on the other hand, are slower because they cover larger pieces of functionalities, such as user interfaces, workflows, or end-to- end scenarios. They also have more dependencies and interactions with other systems, such as databases, networks, or external services. They are more complex and costly to maintain and execute, as they require more setup and teardown procedures, test data, and test environments.

Topics

#test pyramid#test levels#unit testing#test automation

Community Discussion

No community discussion yet for this question.

Full CTFL_SYLL_4.0 Practice