• David.Poole - Monday, July 16, 2018 4:34 AM

    One of the problems with a serverless architecture is working out how to test it in an automated fashion.  How do you unit test a serverless function?

    Since you can deploy these with code, I'd assume you'd have a matching "test" serverless function that you treat as a black box and observe ins/outs. Of course, this means you're counting on things like connections configuration that changes between test and prod being done correctly.

    Maybe there are emulators as well. If not, testing is certainly going to be hard.