- 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.
推薦閱讀
- Google Apps Script for Beginners
- 編程的修煉
- 深入淺出Java虛擬機:JVM原理與實戰(zhàn)
- Reactive Android Programming
- ArcGIS By Example
- Android系統(tǒng)級深入開發(fā)
- Mastering Android Game Development
- Integrating Facebook iOS SDK with Your Application
- 用案例學Java Web整合開發(fā)
- Getting Started with Python and Raspberry Pi
- Hands-On Nuxt.js Web Development
- C語言程序設計與應用(第2版)
- Java程序設計實用教程(第2版)
- 你好!Java
- Python繪圖指南:分形與數(shù)據(jù)可視化(全彩)