Module: GraphicalTestsForRails

Includes:
GraphicArrayOrderings, TextAppliers
Included in:
UserIntention
Defined in:
lib/graphical_tests_for_rails.rb,
lib/graphical_tests_for_rails/orderings.rb,
lib/graphical_tests_for_rails/text-appliers.rb,
lib/graphical_tests_for_rails/user-intention.rb

Overview

Classes within this module help you build up Rails integration tests from OmniGraffle files. The important classes are these:

  • PictureApplier: These objects are ‘programmed’ with unstructured descriptions of how they should handle particular lines in particular kinds of Graffle objects. Once programmed, they are handed Graffle objects, turn them into messages (and arguments), and send those messages to some target.

  • GraphicArrayOrderings::GraphicOrderer: These objects take a list of graphics in no particular order and put it in the right order for a particular style of test. For example, an GraphicArrayOrderings::InWorkflowOrder represents an order created by tracing through shapes connected by lines.

Defined Under Namespace

Modules: GraphicArrayOrderings, TextAppliers Classes: UserIntention