Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GWT method ending in Context causes stackoverflowexception #260

Open
mwhelan opened this issue Oct 13, 2017 · 0 comments
Open

GWT method ending in Context causes stackoverflowexception #260

mwhelan opened this issue Oct 13, 2017 · 0 comments

Comments

@mwhelan
Copy link
Member

mwhelan commented Oct 13, 2017

Out-of-the box BDDfy treats methods ending with "Context" as non-reported methods that run before the Given When Then (GWT) methods. However, if you have a GWT method ending in "Context," BDDfy throws a stackoverflowexception. For example,

public void Then_the_name_is_used_for_the_context

The simple workaround is to modify the name so that it does not end in context,.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant