pivotal/cedar — pull request #19 by cppforlife (2011-10-11 10:50:22+00:00)
Title: added CEDAR_REPORTER_OPTS=nested to mimic rspec's specdoc/nested format

Rspec lets us specify `--format=nested` (http://rspec.info/documentation/tools/spec.html) to print "code example doc strings with nested groups indented." Adding `CEDAR_REPORTER_OPTS=nested` should trigger similar behavior for Cedar (idea behind this env variable is to not replace `CEDAR_REPORTER_CLASS` but merely provide options for the selected reporter).

Example output when using `CEDAR_REPORTER_CLASS=CDRColorizedReporter` and `CEDAR_REPORTER_OPTS=nested`:

````
CDRExampleGroup
hasChildren
for an empty group
. should return false
for a non-empty group
P should return true
state
for a group containing no examples
F should be CDRExampleStatePending
for a group containing at least one incomplete example
. should be CDRExampleStateIncomplete
````