TheLudd / mocha-gwt

Given When Then for mocha
5 stars 2 forks source link

Labels for BW and T blocks #1

Closed digitalsadhu closed 9 years ago

digitalsadhu commented 9 years ago

Other GWT libraries such as mocha given allow you to pass a label to G,W, and T's

Example

Given 'a label', -> @label = 'my label'

Do you plan to add this?

NeverI commented 9 years ago

That would be great!

TheLudd commented 9 years ago

Sorry for not replying earlier, I thought you'd automatically watch your own repos, apparently not :)

If you send a PR for this I will accept it.

TheLudd commented 9 years ago

On second thought, by label I assume you mean labels for the tests that will be printed in reports. Equivalent to this label in vanilla mocha:

it 'this is the label', -> #test
TheLudd commented 9 years ago

Closing due to no activity