Michael de Kaste
08/11/2022, 8:28 AMMattia Tommasone
08/11/2022, 8:31 AMnamingFactory
to be a NamingFactory
in either case.
I couldn’t find anything about it in the kotlin style guide, so i really think that’s up to you and your teamKlitos Kyriacou
08/11/2022, 8:36 AMmockNamingFactory
though.thanksforallthefish
08/11/2022, 8:42 AMval helper = Helper(mockk())
now try to extract mockk()
to a variable, using idea refactoring and it becomes
val whatever = mockk<Whatever>()
I would do the same manually if not to keep style consistent and not having to “fix” the style manuallyKlitos Kyriacou
08/11/2022, 8:44 AMthanksforallthefish
08/11/2022, 8:44 AMMichael de Kaste
08/11/2022, 10:18 AMoverride val someValue: Int
get() = TODO()
Ondřej Šimon
08/15/2022, 5:10 PMMock
, e.g. someServiceMock
.Tom Yuval
08/20/2022, 5:32 PMnamingFactory
is perfectly fine, no need to specify it’s a mock explicitly in the name unless the context requires disambiguating between two naming factories one of which is a mock and one isn’t.)igor.wojda
08/30/2022, 3:05 PM