trystan/hspec — Issue #36: Print parent description before nested description
Author: sol
Created: 2011-11-27 08:51:17+00:00
State: open

Currently

specs = describe "foo" $ do
describe "bar" $ it "has some property" True

produces the following output:

bar
- has some property

Finished in 0.0000 seconds

1 example, 0 failures

I think it would be useful if it instead would produce:

foo
bar
- has some property

Finished in 0.0000 seconds

1 example, 0 failures

This would allow me to label specs, when combining them from several modules into a single spec.