Ben Chuanlong Du's Blog

It is never too late to learn.

Kotlin Unit Testing

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

Use Java reflection to help test private methods.

https://phauer.com/2018/best-practices-unit-testing-kotlin/

https://medium.com/mindorks/how-to-unit-test-private-methods-in-java-and-kotlin-d3cae49dccd

Comments