--- url: "https://martinfowler.com/bliki/StoryTest.html" titulek: "Story Test" h1: "Story Test" popis: "a bliki entry for Story Test" jazyk: "" kanonicka: "" drobecky: [] zdroj: "live" wayback_snapshot: "" stazeno: "2026-09-13 23:46:36" znaku: 1440 slov: 189 kodovani: "utf-8" sha256: "1568688a18158dcc91a33c949e8e237747ffae6b95e4cabc169bb58c5cac2d0b" --- # [Story Test](StoryTest.html) 24 April 2013 [Martin Fowler](/) [test categories](/tags/test%20categories.html) [bad things](/tags/bad%20things.html) Story tests are [BusinessFacingTests](/bliki/BusinessFacingTest.html) used to describe and verify the software delivered as part of a [UserStory](/bliki/UserStory.html). When a story is elaborated the team creates several story tests that act as acceptance criteria for the story. The story tests can be combined into a regression suite for the software and provide traceability from the requirements (user stories) to tests and (through execution) to the behavior of the system. Story tests are usually [BroadStackTests](/bliki/BroadStackTest.html). User stories are popular because they offer a simple workflow, each story adds new tests to the story test suite. However story tests often lead to problems. Regularly adding story tests leads to a large body of tests, often with significant duplication between them. When behavior needs to change in later iterations of the project, duplication in tests can take a painful amount of time to update. Furthermore broad-stack story tests take a long time to execute, which is why having a lot of them violates the [TestPyramid](/bliki/TestPyramid.html). As a result many people recommend using just a few [UserJourneyTests](/bliki/UserJourneyTest.html) together with business-facing [ComponentTests](/bliki/ComponentTest.html).