Testing strategies #315
Replies: 5 comments 4 replies
-
Here is a PR with a proposal for e2e tests #326 . It is based on jest and therefore can be easily extended to test all combination we want in a real cloud env. |
Beta Was this translation helpful? Give feedback.
-
We will need to add tests evaluating packaging size and add in e2e tests evaluation of coldstart duration (as easy as grab metrics and assert on value) |
Beta Was this translation helpful? Give feedback.
-
Agreed E2e scenarios (global examples at the root of the repository):
|
Beta Was this translation helpful? Give feedback.
-
Note: we should keep an eye on this issue to make sure we are able to support the new node version when it's out, as it will be used by members of the AWS community: Related twitter thread: https://twitter.com/martindonadieu/status/1479007397498785794?t=20-x8rnpsu5Y3OJck1UYhw&s=19 |
Beta Was this translation helpful? Give feedback.
-
Thanks for the great library, in particular, I look forward to #364, as controversial as I am sure it will become. I had a chance to take a look at benchmarking the logger and found it to be about an order of magnitude above other perhaps best in class loggers.
I don't think this is the place to discuss performance given the library is beta, and the community works towards improvements every day 🥳 I think though, some perf testing to prevent regressions that can run far left in the software delivery lifecycle would be useful for the power tools. |
Beta Was this translation helpful? Give feedback.
-
To incrementally, iteratively increase the confidence over our code and mitigate failures in production, I am in favour of implementing automated "safety nets" as part of our CI/CD pipelines.
The idea is not that they will be bullet proof, but they will allow us to capture bugs fast and understand better the failure modes of our business logic.
The scope of this discussion is around (automated) tests, included but not limited to:
Additionally, it would be really nice if we can run our CI/CD pipeline tests on environments supported by the Lambda runtime:
https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html
Node.js 14, Node.js 12, Node.js 10
SDK for javascript 2.1001.0
Amazon Linux 2
x86_64, arm64
Beta Was this translation helpful? Give feedback.
All reactions