Have a pipeline to deploy an AWS lambda function in a disposable environment and call them remotely to test. Examples can be found in the Lcaonia js project: https://github.com/laconiajs/laconia