O'Reilly logo

ATDD by Example: A Practical Guide to Acceptance Test-Driven Development by Markus Gärtner

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

Chapter 6. Light States

We are working toward a complete system of vehicle and crossing lights. We will also face the challenge that two driving directions will meet.

The first specification for a crossing will depend on the correct light state changes for cars. So, our first specification is built upon these charges. Our first test in FitNesse will be a decision table that yields the correct state transitions for cars. I will help you keep the basics covered. If you are looking for more in-depth material, check out Appendix B. In addition to a general introduction to FitNesse, I included links to more online material.

State Specifications

Let’s start with a brief specification workshop. The state transition for a German traffic light system ...

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