- 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.
推薦閱讀
- The Complete Rust Programming Reference Guide
- Python 3.7網絡爬蟲快速入門
- 零起步玩轉掌控板與Mind+
- Apache Spark 2.x Machine Learning Cookbook
- PHP 7底層設計與源碼實現
- R語言游戲數據分析與挖掘
- MySQL數據庫基礎實例教程(微課版)
- Hands-On Reinforcement Learning with Python
- BIM概論及Revit精講
- .NET 3.5編程
- HTML5開發精要與實例詳解
- JavaScript應用開發實踐指南
- 網絡數據采集技術:Java網絡爬蟲實戰
- 創意UI Photoshop玩轉移動UI設計
- LabVIEW數據采集