Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
Unit Testing Private Methods
(
henrikwarne.com
)
3 points
by
henrik_w
on Feb 10, 2014
|
hide
|
past
|
favorite
|
1 comment
platinumdragon
on Feb 10, 2014
[–]
This is exactly the method I advocate at work. The package private access type is perfect for testing. We have a small reflection library for use when package private isn't appropriate, but it just isn't that often.
Join us for
AI Startup School
this June 16-17 in San Francisco!
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: