CoffeeScript step definition snippets #86

Closed
wants to merge 8 commits into
from

Conversation

Projects
None yet
2 participants
@johngeorgewright
Contributor

johngeorgewright commented Sep 13, 2012

Here's a way to get the step definition snippets in CoffeeScript syntax (raised in issue #65). I really wanted to use them, so thought I'd go ahead and try to patch.

I've removed the static properties from Cucumber.SupportCode.StepDefinitionSnippetBuilder and created new syntax behaviors Cucumber.SupportCode.StepDefinitionSnippetBuilderSyntax.JavaScript and Cucumber.SupportCode.StepDefinitionSnippetBuilderSyntax.CoffeeScript which will switch dependent on the --coffee CLI option.

To be honest, it's the first time I've used Jasmine properly, so you may think that what I've done could be improved.

Ta,
John

@jbpros

This comment has been minimized.

Show comment
Hide comment
@jbpros

jbpros Nov 27, 2013

Member

Closed by 336ca0f. Thank you @johngeorgewright.

Member

jbpros commented Nov 27, 2013

Closed by 336ca0f. Thank you @johngeorgewright.

@jbpros jbpros closed this Nov 27, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment