Skip to content

How to add proprety infix functionΒ #109

@hungrytech

Description

@hungrytech

Thank you for creating the wonderful fixtures library.
While using public member properties overridden by reference, I thought it would be more convenient if it could be used as an infix function like below. What do you think about adding an infix function?

Here is the example code

data class Foo(
val bar: String
)

@Test 
fun `test`() {
  val foo = fixture {
      Foo::bar property { "bar" }
  }

}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions