Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Local test instructions needed #20

Open
Rubyj opened this issue May 9, 2019 · 3 comments
Open

Local test instructions needed #20

Rubyj opened this issue May 9, 2019 · 3 comments

Comments

@Rubyj
Copy link

Rubyj commented May 9, 2019

@kislyuk Is there support to test my s3event driven lambda locally? i,.e. with a test event json file? It is not clear from the documentation.

@Rubyj Rubyj changed the title How to test locally Local test instructions needed May 9, 2019
@kislyuk
Copy link
Collaborator

kislyuk commented May 9, 2019

Yes, you can test your event handler entry point with an example event and context. There is currently nothing specific in Domovoi to support this beyond the fact that you can use your event handlers as regular functions, what would you like to see?

@Rubyj
Copy link
Author

Rubyj commented May 9, 2019

@kislyuk I see. Is there any way to execute this behavior on the command line with a call to domovoi? It sounds like what you are describing would be done through pytests. I was hoping for a way to invoke the lambda to run locally on the command line.

@kislyuk
Copy link
Collaborator

kislyuk commented May 9, 2019

Not currently, but I'll consider it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants