I'm writing a tool to run a series of integration tests on my product. It will install it and then run a bunch of commands against it to make sure its doing what it is supposed to. I'm exploring different options for how to markup the commands for each test case and wondering if folks had insight to share on this. I'm thinking of using YAML and doing something like this (kinda adapted from rails fixtures):
case: name: caseN description: this tests foo to make sure bar happens expected_results: bar should happen commands: | command to run next command to run verification: command to see if it worked
Does anyone have another, or better idea? Or is there a domain specific language I'm unaware of? Thanks!