liveBook · Manning

Acceptance criteria

As explained in Build Financial Software with Generative AI (From Scratch)

Conditions that define when a software feature or project outcome is considered complete and acceptable.

Acceptance criteria define the conditions that show whether a feature or project outcome is complete and acceptable. During sprint planning, they make user stories more precise, align expected work with stakeholders, and provide a basis for deciding whether a sprint goal has been delivered. section 9.1 section 9.6

Useful acceptance criteria connect a requested capability to observable behavior:

  • Start with a user story, such as: “As a user, I want to search for transactions, so that I can better research customer inquiries.” section 9.1
  • Express the expected behavior as a scenario that stakeholders can read and developers can test. section 2.4.4
  • Use the result to judge completion rather than trusting that an implementation works without evidence. section 9.6

BDD acceptance scenario

For an ACH batch-header parser, a human-readable feature file can state: “When we parse the batch header, then the record type should be 5.” The corresponding step verifies the parsed record type, turning the requirement into a runnable acceptance check. section 2.4.4

Listing 2.9 Parsing an ACH batch header
Feature: Parsing a Nacha Batch Header

  Scenario: We have a record type of 5
    When We parse the batch header 
➥"5200Company name    DiscretionaryData   Company
 IDARCComp desc 0216232302160471061000010000001"
    ➥ Then The record type should be 5

Browse the complete feature-file example for the batch-header acceptance scenario, then use the linked implementation to see how the expected behavior is verified. section 2.4.4

How Build Financial Software with Generative AI (From Scratch) covers it

How deep it goes
Explains criteria through user stories and given/when/then scenarios, but does not provide a general checklist for every feature.
Examples
Uses transaction search stories and an ACH batch-header parsing scenario as concrete acceptance examples.
What you can do after
Evaluate completion by turning desired behavior into stakeholder-readable BDD scenarios and executable tests.
How it connects
Connects acceptance criteria to Agile sprint planning, user stories, behavior-driven development, and stakeholder alignment.

Also explained in

Compare how 6 books explain acceptance criteria →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Build Financial Software with Generative AI (From Scratch). The section links point to the parts of the book it draws on.