Skip to content

Added helper function to immediately create an object fixture#99

Open
romrell4 wants to merge 1 commit intoappmattus:mainfrom
romrell4:main
Open

Added helper function to immediately create an object fixture#99
romrell4 wants to merge 1 commit intoappmattus:mainfrom
romrell4:main

Conversation

@romrell4
Copy link

@romrell4 romrell4 commented Aug 1, 2023

As discussed in #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>()

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

Successfully merging this pull request may close these issues.

1 participant