Penned in places when pensive thoughts pondered...
Arise, awake, and learn by approaching the exalted ones,
for that path is sharp as a razor’s edge, impassable,
and hard to go by, say the wise.
Because every single reason has the same, if not more, number of reasons to be wrong. ;)
There are two exciting features in Slim - the Decision Table and the Scenario Table. Below are the screen shots of both:
A Scenario table, as in the above image, does not by itself do anything and that is why the Scenario does not show green but, when combined with the Decision table, you get the desired test behavior as in the below image.
Every scenario described in the scenario table gets executed when a Decision table contains the exact name of the Scenario. Here, it is a Script table that helps Slim knows that it has to execute the Scenario script and not the fixture code.
More about the script and the code in a later post.