Electrical Engineer with M.Sc. in Communications and Informations theory. Passionate about Software-Defined Radio and now working in the autonomous driving industry.
Location
Friedrichshafen, Germany
Education
M.Sc. Communications and Information Theory
Work
R&D Engineer - Autonomous Driving Projects at ZF Friedrichshafen AG
My biggest challenge has been to get some code that has been untested and which has most methods as private. I've had countless discussion on how to approach this, none of them conclusive.
My biggest challenge has been to get some code that has been untested and which has most methods as private. I've had countless discussion on how to approach this, none of them conclusive.
Depending on your language you can change them from private to protected and create subclasses for testing.
Or create tests that will invoke the private methods from the public ones. But it could also be other code smells hard to say.