Right way to test Serverless Plugins? #9614
-
Hi there, what's the right way to test a serverless plugin? I stumbled on the runServerless util. Should framework plugins be using this utility as well? Or is it purely for testing Serverless framework internals? If it is purely internal, is there an alternative that plugin developers should use |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 6 replies
-
I'd highly recommend using I believe it can be relatively easily used to test plugins, but please ask if you stumble on any issues |
Beta Was this translation helpful? Give feedback.
I'd highly recommend using
runServerless
util to test plugins, as it tests against full cycle, and it's the only reliable way to confirm all works as expected.I believe it can be relatively easily used to test plugins, but please ask if you stumble on any issues