VikeLabs / lecshare

A React application with typescript implementation: Making lectures more accessible for students with auditory, visual, or learning impairments; and Improving learning outcomes for students in lecture-based courses.
https://vikelabs.github.io/lecshare/
GNU General Public License v3.0
5 stars 3 forks source link

Lambda function testing question #72

Closed malcolmseyd closed 4 years ago

malcolmseyd commented 4 years ago

Every time I make a change I have to commit my code before I can test it. Is there a way that I could quickly test my code during the development process?

aomi commented 4 years ago

For many development features (most that live on API Gateway), you can access that with a local http server as the program will translate API Gateway requests/responses into normal http.Handler interfaces.

As for testing specific events, your best best would be to use the interfaces from the AWS SDK, throw some mock data in and execute the handler directly.