Follow

RT @afilina@twitter.com

Don't use reflection to make non-public methods accessible in order to unit test them. You shouldn't test those methods individually. If you do so, you'll force yourself to maintain the contract of that method, making both code and tests hard to change and refactor in the future.

πŸ¦πŸ”—: twitter.com/afilina/status/127

Β· Β· Mastodon Twitter Crossposter Β· 0 Β· 0 Β· 0
Sign in to participate in the conversation
Mastodon

Server run by the main developers of the project 🐘 It is not focused on any particular niche interest - everyone is welcome as long as you follow our code of conduct!