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

Yes, unit tests are the way to go. Lambda being a single function with a defined output makes this really simple. We have unit tests for sublibraries, but the "integration test"-level test are just calling the handler with the test payload and comparing it against the expected response.


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

Search: