https://kotlinlang.org logo
#announcements
Title
# announcements
g

groostav

07/15/2016, 11:34 PM
My specific use case is this: one of our customers gave our software a hard time by using a really strange configuration. So I wrote up a little extension function (
doThings
) on a relevant test suite (
DomainModelGeneratingService
) to create a model with the same configuration --using an extension method on the problem model object. Now I want to access that configuration from another set of tests. The result was
extensions.run { model.extensionFunction() }
, which is, eh...