Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

"But, how do you systematically unit test nested functions?"

You don't. You test the enclosing function. The nested function is just an implementation detail like any other line of code in that function.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: