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

11 views
Skip to first unread message

Norbert Kiesel

unread,
Apr 1, 2021, 5:38:47 PM4/1/21
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