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

Release candidate #36

Merged
merged 6 commits into from
Mar 21, 2023
Merged

Release candidate #36

merged 6 commits into from
Mar 21, 2023

Conversation

ikawaha
Copy link
Owner

@ikawaha ikawaha commented Mar 21, 2023

We have added WithMultipart() to support testing of multipart data.

Thank you @mcauto ! #35

Usage:

checker.Test(t, "POST", "/multipart").
	WithMultipart(
		FieldPart{FieldName: "part_1", Value: "value_1"},
		FilePart{FieldName: "part_2", FileName: "./testdata/neko_small.png"},
	).Check().HasStatus(http.StatusOK)

ikawaha and others added 3 commits November 22, 2022 21:44
* feat(multipart): add multipart/form-data

* chore: fix test code

---------

Co-authored-by: 민철 김 <deokim@nexon.co.kr>
@ikawaha ikawaha merged commit 9fd6c6f into main Mar 21, 2023
@ikawaha ikawaha deleted the develop branch March 21, 2023 07:05
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

Successfully merging this pull request may close these issues.

2 participants