Skip to content

GWT method ending in Context causes stackoverflowexception #260

@mwhelan

Description

@mwhelan

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,.

Metadata

Metadata

Assignees

No one assigned

    Labels

    not verifiedNot verified or replicated yet

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions