serverless / examples

Serverless Examples – A collection of boilerplates and examples of serverless architectures built with the Serverless Framework on AWS Lambda, Microsoft Azure, Google Cloud Functions, and more.
https://www.serverless.com/examples/
Other
11.41k stars 4.46k forks source link

add a test suite to the examples repo that ensures the examples are working after each framework release #312

Open brianneisler opened 5 years ago

brianneisler commented 5 years ago

Would be good to ensure that examples are working as expected after each new release of the framework. It's very easy for examples to go out of date or break over time if they're not monitored.

brianneisler commented 5 years ago

Thinking that we just need the appropriate harness in place to run a CI build when framework master is updated. That’s a bit different than the usual practice of running when the examples repo is updated

One way we might do this is by adding the framework as a submodule of examples. This might trigger a build on examples anytime master is updated on framework.

MichaelDimmitt commented 2 years ago

@brianneisler ,

I started heading down the path of using serverless-offline and using bats bash test suite in the parent directory to run all of them locally.

This ran into a lot of issues once I went out of the aws realm since that serverless-offline plugin is meant specifically for aws.

New to serverless, and running a local environment for debugging and testing has been a challenge.