Chapter 18Test Strategy Patterns

Patterns in This Chapter

Test Automation Strategy

      Recorded Test 278

      Scripted Test 285

      Data-Driven Test 288

      Test Automation Framework 298

Test Fixture Strategy

      Minimal Fixture 302

      Standard Fixture 305

      Fresh Fixture 311

      Shared Fixture 317

SUT Interaction Strategy

      Back Door Manipulation 327

      Layer Test 337

Recorded Test

Also known as

Record and Playback Test, Robot User Test, Capture/Playback Test

How do we prepare automated tests for our software?

We automate tests by recording interactions with the application and playing them back using a test tool.


Automated ...

Get xUnit Test Patterns: Refactoring Test Code now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.