Skip to content

Add [Pure] to fluent BDDfy methods #203

Closed

Description

@JakeGinnivan

By doing so R# will warn when you do not add .BDDfy() at the end

Activity

  1. mwhelan commented on Apr 23, 2015

    @mwhelan
    Member

    Sounds useful. What's Pure?

  2. JakeGinnivan commented on Apr 23, 2015

    @JakeGinnivan
    MemberAuthor

    A hint to r# that the method does nothing. An example is myString.Replace("foo", "bar") will warn because Replace is Pure (you need to assign output for it to do anything).

    Given/When/Then are all pure, only .BDDfy() does anything

  3. SonOfSardaar commented on May 28, 2026

    @SonOfSardaar
    Contributor

    fixed by #298

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions