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.

image

Automated ...

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

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.