O'Reilly logo

Lean-Agile Acceptance Test-Driven Development: Better Software Through Collaboration by Ken Pugh

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Appendix C. Test Framework Examples

“There’s more than one way to skin a cat.”

Anonymous

There are many acceptance test frameworks. This appendix has a few examples for the application described in this book.

The Examples

These examples show how the tests in this book are expressed in different frameworks. The corresponding table-style tests are in Chapter 10, “User Story Breakup,” and Chapter 11, “System Boundary.” They all perform the following operations:

• Set up persistent storage with a customer and a CD.

• Check-out a CD.

• Check-in a CD with a simple rental fee computation.

• Verify the computation of the rental fee for an upcoming change in how rental fees are calculated, based on the CD category.

The Check-Out CD and Check-In ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required