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

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.

主站蜘蛛池模板: 高台县| 云浮市| 旌德县| 泾阳县| 银川市| 高清| 塔河县| 石城县| 东乡县| 五河县| 灵台县| 罗江县| 儋州市| 临朐县| 天祝| 德格县| 宁远县| 安吉县| 大埔区| 色达县| 沁水县| 滨州市| 舟曲县| 洪湖市| 甘孜县| 卫辉市| 顺义区| 汝阳县| 望谟县| 新河县| 博爱县| 屯昌县| 凤山市| 东宁县| 固始县| 安岳县| 射洪县| 洛南县| 大连市| 民权县| 汶上县|