xUnit Test Patterns¶
Meszaros, G. (2007). xUnit Test Patterns: Refactoring Test Code. Addison-Wesley.
Cited by¶
2 citations across 2 artifacts.
Each citation links to the sentence it supports in the citing article.
Primes¶
- Script
- Cognitive scripts port into automation, where literal software scripts and behavior trees inherit the slot-binding and sequencing logic, and test scripts borrow the precondition/action/postcondition structure wholesale.
This sourceDocuments the four-phase test (setup/exercise/verify/teardown, i.e. arrange-act-assert) structure that test scripts adopt — the precondition/action/postcondition machinery of the script.
- Cognitive scripts port into automation, where literal software scripts and behavior trees inherit the slot-binding and sequencing logic, and test scripts borrow the precondition/action/postcondition structure wholesale.
Mechanisms¶
- Mock, Fake, or Stub Implementation
- … implementation you fully control, placed on a spectrum from "reproduces real behavior" to "returns canned answers" — an in-memory fake that really works but simply, a stub that returns fixed responses to steer a client down a path, or a mock pre-loaded with expectations about the calls it should receive.
This sourceDistinguishes a fake with a working shortcut implementation, a stub that returns canned answers, and a mock preprogrammed with expected calls.
- … implementation you fully control, placed on a spectrum from "reproduces real behavior" to "returns canned answers" — an in-memory fake that really works but simply, a stub that returns fixed responses to steer a client down a path, or a mock pre-loaded with expectations about the calls it should receive.
Verification¶
Does it exist? Not checked yet. This entry carries no identifier to resolve. It was extracted from the citation as written in the article, normalized, and deduplicated against the rest of the registry.
Does it back the claim? Not recorded. Neither this nor any other of the 2 citations of this work carries a recorded support check.
Support is checked per citation rather than per work — the same source can be cited soundly in one article and wrongly in another. Per-citation recording began recently, so a citation with no recorded check is a gap in the record rather than evidence it went unchecked.
See how references were verified.
Links previously used in the corpus¶
Before the registry existed this work was also linked 1 other way.
Registry ID ref:00fecc7105df · see in the full table