You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi @milgner, inside the generator block of the factory you have access to fixture which will use any factories already defined. So basically for your example you can simply write:
When building complex data structures, I'd like to invoke other factories from within the current one.
Something along the lines of
Unfortunately I haven't found a way to do this with the current API except through multiple
kotlinFixture
blocks. Any ideas?The text was updated successfully, but these errors were encountered: