官术网_书友最值得收藏!

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.

主站蜘蛛池模板: 云和县| 江陵县| 连南| 西安市| 淮安市| 新密市| 鄂托克前旗| 黄梅县| 西丰县| 凉山| 台山市| 凤城市| 疏勒县| 施甸县| 吉首市| 嘉善县| 滁州市| 多伦县| 黑龙江省| 策勒县| 六安市| 桦南县| 泗水县| 玉屏| 白城市| 汕尾市| 晋州市| 遵化市| 北碚区| 云林县| 东丰县| 乐安县| 洛扎县| 通州区| 枣阳市| 怀仁县| 维西| 镇平县| 清苑县| 千阳县| 武陟县|