ScatterHQ / machinist

A library for constructing finite state machines
Apache License 2.0
57 stars 12 forks source link

Add a test-generating helper #8

Closed itamarst closed 10 years ago

itamarst commented 10 years ago

Since all possible state transitions can be enumerated it's possible to know a minimum set of tests that should be written.

We built something like this in HybridCluster, from which Jean-Paul learned that he preferred tests to be organized by state rather than by input (that is, a TestCase per state with methods for testing each input).

exarkun commented 10 years ago

Duplicate of #2 :smile: