Skip to content
This repository was archived by the owner on May 31, 2026. It is now read-only.
This repository was archived by the owner on May 31, 2026. It is now read-only.

Expectations #23

Description

@drekka

Was recently asked about applying expectations to registered APIs. Figure it should not be hard to do so. Am thinking of using a wrapper with counts calls along with some functions on Endpoint to set them up. So something like:

HTTPEndpoint("/hello").expect(.times(3))
HTTPEndpoint("/hello").expect(.atLeastOnce)
HTTPEndpoint("/hello").expect(.never)

Not sure about ordering. Will think on that.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions