CLion + AWS Lambda + testing?
I'm a relative noobie to C++ but have been using CLion extensively in combination with platform.io on IoT stuff.
I've been working with AWS and especially Lambda functions quite a bit with a project at work, dealing primarily with node.js, a little bit of python and even toyed a bit with a custom php runtime library. One thing I was able to successfully do was to reproduce the 'hello-lambda' code in cLion with CMake, deploy it to lambda and confirm it successfully invoked.
But before I do much more, I prefer to do my work in node.js and php with test-driven-development (TDD) methods. I saw that there is a cppUnit available, but didn't see much in the way of info on cppUnit+cLion. I do, however, see something called 'Boost' and also a Google test layer. However, I can't seem to find anything on either emulating or otherwise enabling interaction with AWS/lambda within CLion for unit-style testing and TDD.
Does anyone know of any how-tos, tutorials, or examples on testing lambda code in cLion with the AWS SDK for c++?
SW
请先登录再写评论。