assuming they are just data classes and don’t hous...
# build-tools
t
assuming they are just data classes and don’t house any logic it would be best to ignore them in both your testing efforts as well as your coverage report.
t
Yeah, it's probably my last resort. Not sure there are better way to solve this? For Scala test coverage tool, they will by default assume good coverage for the case (data) classes if they are used somewhere.
e
That is what we are doing
Ignoring data classes by class name
t
@Eugen Martynov thanks, btw, does your data class have companion object?
e
Nope, they don’t, we mostly use constant file level and we already over dex limit