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 ...

Get ATDD by Example: A Practical Guide to Acceptance Test-Driven Development 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.