aws-amplify / aws-amplify/amplify-cli
Function testing
- Dominant language
- TypeScript
- Stars
- 2.9k
- Forks
- 825
- Avg merge
- 11d 23h
- Merged PRs (30d)
- 2
Description
### Is this feature request related to a new or existing Amplify category?
function
### Is this related to another service?
_No response_
### Describe the feature you'd like to request
Ability to quickly test functions
### Describe the solution you'd like
I would like to be able to run:
amplify function test
amplify function test [functionName]
and have all (or just the named) function tests be run remotely (or in mock)
tests would be an input/output json file...and potentially a pre/post setup script
I would also like the option of failing a push if the tests fail...on a per function basis
### Describe alternatives you've considered
This could maybe done with hooks, but I'm not sure it would be straightforward.
### Additional context
_No response_
### Is this something that you'd be interested in working on?
- [ ] 👋 I may be able to implement this feature request
### Would this feature include a breaking change?
- [ ] ⚠️ This feature might incur a breaking change
Contributor guide
Assessment
This issue has not been assessed yet.