Module 4

The Architecture of Organization

We have learned about the "bricks" of our testing house—the Actions. Now, we must discuss the blueprints. You wouldn't store your silverware in the garage, nor would you file your tax returns in the refrigerator.

Just as a library needs the Dewey Decimal System, your tests need a logical home based on what they are, not just what they do. In Action-Based Testing, we organize our work into Test Modules.

The Two Types of Modules

Business Objects

Tests focused on a specific entity, like "Invoices" or "Customers". These modules verify that the object itself behaves correctly (CRUD operations).

Business Flows

Tests that span multiple objects to achieve a goal, like "Order Fulfillment" (which involves Customers, Orders, and Inventory).

Illustration of organizing tests into logical structures

Marilyn's Rule of Order

"If you cannot find a test within 30 seconds, it is not lost—it is misplaced. A well-architected system requires no memory to navigate, only logic."