Skip to content

add json to expect_request #41

@fredwangwang

Description

@fredwangwang

right now data can only match exact text, which is less useful for testing apis that takes json payload.

expect_request should be able to take data or json (mutually exclusive) and handle the match correspondingly.

btw, thanks for the great project! Saves wring a bunch of boilerplates code!

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