Skip to content

[RFC] Add FunctionHttpCallSpyEvent #11

@CorentinDoue

Description

@CorentinDoue

With @MaximeVivier, we are working on a lib to intercept HTTP calls made by a lambda and mock them: https://github.com/MaximeVivier/lambda-http-interceptor.
The aim is to be able to mock external services in integration tests.

Our next feature is to be able to assert an HTTP call has been made. But we are facing some issues you have already resolved and I like having a unified interface to assert something happened.

What do you think about intercepting HTTP calls made by lambdas and emitting FunctionHttpCallSpyEvent?

I'll be happy to implement it based on what we did on lambda-http-interceptor

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions