hastebrot
11/11/2015, 10:27 AMit() or Mocha's `describe()`/ it()) or even reflection (for @mhshams proposed scenario methods) and define rules how to populate() the tree and how to transform() it. then traverse() will provide something like a visitor pattern and provide information which kind of node it is (SPEK_GIVEN, SPEK_ON, ...).