github.com/mweagle/Sparta@v1.15.0/docs_source/content/reference/testing.md (about)

     1  ---
     2  date: 2016-03-09T19:56:50+01:00
     3  title: Testing
     4  weight: 800
     5  ---
     6  
     7  While developing Sparta lambda functions it may be useful to test them locally without needing to `provision` each new code change.  You can test your lambda functions
     8  using standard `go test` functionality.
     9  
    10  To create proper event types, consider:
    11  
    12  * [AWS Lambda Go](https://godoc.org/github.com/aws/aws-lambda-go/events) types
    13  * Sparta types
    14  * Use [NewAPIGatewayMockRequest](https://godoc.org/github.com/mweagle/Sparta/aws/events#NewAPIGatewayMockRequest) to generate API Gateway style requests.