Local Testing
Serverless Framework: The Good Parts
John McKim
82

We are doing TDD. Our question back then was, how can we effectively do TDD in the least annoying way? Ultimately, we decided to do unit test outside of serverless framework.

We use `ava` and have the spec files independent of serverless. That’s for cheap test like unit test. Notabily, we use “dynamodb-local” along with “ava” to provision local dynamodb as part of TDD process.

We’ll be focusing on automated integration testing and blackbox testing soon, so I’m interested to hear what people do in the community. 😀

One clap, two clap, three clap, forty?

By clapping more or less, you can signal to us which stories really stand out.