v79
08/11/2019, 8:05 AMdescribe
or it
blocks. As it is, even if I run a single it
block test in Intellij, all the mocks across all blocks are being initialized. Is this a consequence of putting the entire test suite into the constructor of my test class (which seems bonkers to me)?v79
08/11/2019, 9:24 AMbeforeEachTest
blocks.raniejade
08/11/2019, 9:30 AMmartin.petrulak
08/22/2019, 11:25 AMval myMock by memoized {mock(Something::class.java)}
but you should check the docs in 1st place to understand how SPEK engine works