any way to turn on stubOnly for a complte test class?

5 views
Skip to first unread message

Norbert Kiesel

unread,
Apr 1, 2021, 5:38:47 PMApr 1
to mockito
Hi,

most of our unit tests today do not use verify() and thus - per my understanding - could use stubOnly() to save some memory.  Is that actually correct and is there a way to make that the default for the whole test class (e.g. by adding something to @BeforeClass)?
Reply all
Reply to author
Forward
0 new messages