kotlinfixture icon indicating copy to clipboard operation
kotlinfixture copied to clipboard

Added helper function to immediately create an object fixture

Open romrell4 opened this issue 11 months ago • 0 comments

As discussed in https://github.com/appmattus/kotlinfixture/issues/98, it would be nice to have a small helper function that would immediately create a randomized fixture, without having to write:

kotlinFixture().invoke<MyType>()

each time.

This PR adds a new helper function to make ☝️ just look like:

fixture<MyType>()

romrell4 avatar Aug 01 '23 21:08 romrell4