nerdexam
iSQI

CTFL_SYLL_4.0 · Question #40

Which of the following is a test-first approach, where tests that express a shared understanding from stakeholders of how the application is expected to work, are first written in business- readable…

The correct answer is C. Behavior-Driven Development (BDD). This answer is correct because Behavior-Driven Development (BDD) is a test-first approach, where tests that express a shared understanding from stakeholders of how the application is expected to work, are first written in business-readable language (following the…

Testing Throughout the Software Development Lifecycle

Question

Which of the following is a test-first approach, where tests that express a shared understanding from stakeholders of how the application is expected to work, are first written in business- readable language (following the Given/When/Then format), and then made executable to drive development?

Options

  • ATest-Driven Development (TDD)
  • BAcceptance Test-Driven Development (ATDD)
  • CBehavior-Driven Development (BDD)
  • DDomain-Driven Design (DDD)

How the community answered

(37 responses)
  • A
    3% (1)
  • B
    5% (2)
  • C
    92% (34)

Explanation

This answer is correct because Behavior-Driven Development (BDD) is a test-first approach, where tests that express a shared understanding from stakeholders of how the application is expected to work, are first written in business-readable language (following the Given/When/Then format), and then made executable to drive development. BDD is a collaborative approach that involves testers, developers, business analysts, product owners, and other stakeholders in defining the expected behavior of the application using scenarios that describe the preconditions, actions, and outcomes of the application. BDD scenarios are written using a domain-specific language (DSL) that can be translated into executable test cases using tools such as Cucumber or SpecFlow. BDD aims to improve communication, collaboration, and feedback among the team members, and to deliver software that meets the customer's needs and expectations.

Topics

#BDD#ATDD#Given/When/Then#test-first approaches

Community Discussion

No community discussion yet for this question.

Full CTFL_SYLL_4.0 Practice