Frequently Asked Questions About Given-When-Then
A practical introduction to the Given-When-Then format, its role in acceptance criteria, and how it complements user story descriptions.
Browse by term
A practical introduction to the Given-When-Then format, its role in acceptance criteria, and how it complements user story descriptions.
Why automation candidates should be identified during refinement rather than derived from manual test results afterward, with a workflow, checklist, and side-by-side example.
Why applying one uniform static-analysis ruleset to both production and test code serves neither well, and what a more relaxed ruleset for tests actually buys a team.
Why separating production code from testing and experimental code shapes decisions like where integration tests should live in a repository.
How to use InternalsVisibleTo with strong-named .NET assemblies, including signing the test assembly and specifying the full public key instead of the public key token.
How to set up xUnit with Visual Studio and ReSharper, including local xUnit references, the xUnit Contrib ReSharper plugin, external annotations, and Live Templates.
A note on applying the Perform Runtime Contract Checking option: application runs pick up the changed setting on restart, while unit tests require an explicit rebuild
Key characteristics of good unit tests: fast, independent, isolated, repeatable, self-validating, small, transparent, and written at the right time.