- Building Serverless Web Applications
- Diego Zanon
- 125字
- 2021-07-15 17:31:24
Debugging difficulties
Unit testing a serverless solution is fairly simple because any code that your functions rely on can be separated into modules and unit tested. Integration tests are a little bit more complicated because you need to be online to test using external services.
When it comes to debugging to test a feature or fix an error, it's a whole different problem. You can't hook into an external service to see how your code behaves step-by-step. Also, those Serverless APIs are not open sourced, so you can't run them in-house for testing. All you have is the ability to log steps, which is a slow debugging approach, or extract the code and adapt it to host into your own servers and make local calls.
推薦閱讀
- 一步一步學Spring Boot 2:微服務項目實戰
- Python數據可視化:基于Bokeh的可視化繪圖
- Processing互動編程藝術
- JavaScript從入門到精通(第3版)
- PHP+MySQL網站開發項目式教程
- Python完全自學教程
- Python數據結構與算法(視頻教學版)
- Keras深度學習實戰
- Terraform:多云、混合云環境下實現基礎設施即代碼(第2版)
- Swift 4 Protocol-Oriented Programming(Third Edition)
- Java程序員面試筆試寶典(第2版)
- JavaScript從入門到精通(視頻實戰版)
- 超簡單:用Python讓Excel飛起來(實戰150例)
- iOS開發項目化入門教程
- Python硬件編程實戰