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

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.

主站蜘蛛池模板: 榆林市| 乌苏市| 萝北县| 旬阳县| 常州市| 绩溪县| 普格县| 宣汉县| 曲阳县| 岗巴县| 潞城市| 阜城县| 山西省| 黔西| 会宁县| 于田县| 西充县| 桂平市| 滁州市| 麦盖提县| 西昌市| 焦作市| 曲沃县| 江安县| 登封市| 安国市| 武穴市| 军事| 鲁山县| 随州市| 云南省| 法库县| 山东省| 宾阳县| 民勤县| 曲沃县| 夏邑县| 金阳县| 大同县| 阳东县| 木里|