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

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.

主站蜘蛛池模板: 怀宁县| 玉龙| 贵德县| 灵丘县| 合川市| 郓城县| 彰化县| 田林县| 德清县| 高清| 舟山市| 赞皇县| 秭归县| 江口县| 宝应县| 北海市| 板桥市| 太湖县| 巫溪县| 都匀市| 遵义市| 留坝县| 鹤庆县| 横山县| 景泰县| 冕宁县| 河北区| 景宁| 彩票| 扎赉特旗| 泰来县| 正蓝旗| 磐石市| 三河市| 城固县| 武穴市| 图们市| 青海省| 永靖县| 安远县| 德庆县|