examples icon indicating copy to clipboard operation
examples copied to clipboard

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

Open brianneisler opened this issue 7 years ago • 2 comments

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 avatar Oct 23 '18 22:10 brianneisler

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.

brianneisler avatar Oct 24 '18 00:10 brianneisler

@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.

MichaelDimmitt avatar Sep 05 '22 14:09 MichaelDimmitt