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

vTest: add additional helpful methods to response.go #72

Open
MacklinEngineering opened this issue Feb 3, 2022 · 1 comment
Open

vTest: add additional helpful methods to response.go #72

MacklinEngineering opened this issue Feb 3, 2022 · 1 comment
Labels
enhancement New feature or request

Comments

@MacklinEngineering
Copy link

A place for us to add thoughts on which methods we might want to implement into response.go!

@MacklinEngineering MacklinEngineering added the enhancement New feature or request label Feb 3, 2022
@danielledeleo
Copy link
Contributor

Generic methods that take user provided funcs and validates with them. The signature might look something like:

func (r *Response) AssertBodyStringFunc(func(body, val string) bool, val string) *Response
func (r *Response) AssertBodyStringsFunc(func(body, val string) bool, vals []string) *Response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants