liveBook · Manning

Domain concept

As explained in BDD in Action, Second Edition

A business domain is the area of organizational activity, knowledge, and processes that a software solution addresses.

A domain concept represents a meaningful part of organizational activity, such as a flight, flight schedule, or booking. A business system stores related information and enforces rules governing how external actors may use it. section 15.1

Effective delivery treats interfaces as routes into business logic, not as the primary subject of acceptance testing. The goal is to verify user-relevant behavior: for example, preventing travelers from booking nonexistent flights or dates in the past. section 15.1

Work with domain concepts by:

  • Discovering business goals and user needs progressively instead of assuming that early requirements are complete and stable. section 1.2.3
  • Connecting acceptance tests to business rules and supported use cases, while using web, mobile, or programmatic interfaces as interaction mechanisms. section 15.1
Figure 1.4 At the start of a project, there are many unknowns. You reduce these unknowns as the project progresses, but not in a linear or very predictable way.

Use the figure to frame domain understanding as a growing body of knowledge: projects begin with many unknowns, and learning reduces them unevenly over time. section 1.2.3

How BDD in Action, Second Edition covers it

How deep it goes
Connects domain concepts to business rules, external actors, interfaces, and evolving project knowledge without detailing implementation.
Examples
Uses flights, flight schedules, bookings, travelers, past-date bookings, and nonexistent flights as concrete domain examples.
What you can do after
Evaluate whether features and tests reflect business rules rather than merely exercising external interfaces.
How it connects
Connects business rules, use cases, external interfaces, acceptance testing, BDD, and requirements uncertainty.

Also explained in

Compare how 2 books explain domain concept →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of BDD in Action, Second Edition. The section links point to the parts of the book it draws on.