Skip to content

[Question] How to create mock requests for writing tests? #189

@JonasRSV

Description

@JonasRSV

As the title says, how would one go about creating mock requests for tests. The fields of tiny_http::Request are private so creating the struct does not work for me.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions