httpexpect:Go的端到端HTTP和REST API测试

时间:2021-02-03 16:59:46
【文件属性】:
文件名称:httpexpect:Go的端到端HTTP和REST API测试
文件大小:109KB
文件格式:ZIP
更新时间:2021-02-03 16:59:46
testing http json rest websocket httpexpect 简洁,声明式且易于使用的Go(golang)端到端HTTP和REST API测试。 基本上,httpexpect是在net / http和几个实用程序包之上的一组用于HTTP请求以及HTTP响应和有效负载断言的可链接构建器。 工作流程: 逐步建立HTTP请求。 检查HTTP响应。 递归检查响应负载。 产品特点 要求建造者 URL路径构造,以及软件包提供的简单字符串插值。 URL查询参数(使用包进行编码)。 标头,Cookie,有效载荷:JSON,urlencoded或多部分表单(使用包进行编码),纯文本。 自定义可重用的和。 响应断言 响应状态,预定义的
【文件预览】:
httpexpect-master
----e2e_cookie_test.go(3KB)
----boolean_test.go(2KB)
----websocket.go(12KB)
----duration_test.go(3KB)
----expect_test.go(6KB)
----README.md(14KB)
----value_test.go(17KB)
----request.go(27KB)
----number_test.go(6KB)
----value.go(8KB)
----helpers_test.go(3KB)
----request_test.go(36KB)
----binder_test.go(8KB)
----.github()
--------workflows()
----chain_test.go(1KB)
----object_test.go(13KB)
----string_test.go(6KB)
----e2e_tls_test.go(3KB)
----match.go(5KB)
----chain.go(630B)
----e2e_chunked_test.go(2KB)
----LICENSE(1KB)
----websocket_message.go(8KB)
----expect.go(14KB)
----helpers.go(4KB)
----cookie_test.go(2KB)
----go.mod(1KB)
----object.go(9KB)
----number.go(6KB)
----binder.go(5KB)
----websocket_dialer.go(2KB)
----e2e_redirect_test.go(1KB)
----.golangci.yml(103B)
----duration.go(4KB)
----boolean.go(2KB)
----e2e_basic_test.go(4KB)
----e2e_websocket_test.go(8KB)
----datetime.go(3KB)
----array_test.go(9KB)
----cookie.go(3KB)
----match_test.go(3KB)
----websocket_test.go(25KB)
----datetime_test.go(3KB)
----_examples()
--------websocket.go(1KB)
--------gin.go(407B)
--------doc.go(68B)
--------fruits_test.go(1KB)
--------iris.go(2KB)
--------gae.go(388B)
--------go.mod(712B)
--------fruits.go(2KB)
--------fasthttp_test.go(648B)
--------gae_test.go(1KB)
--------echo.go(1KB)
--------gin_test.go(735B)
--------websocket_test.go(3KB)
--------iris_test.go(3KB)
--------go.sum(26KB)
--------echo_test.go(2KB)
--------fasthttp.go(450B)
----printer.go(3KB)
----reporter.go(1KB)
----response_test.go(22KB)
----printer_test.go(1KB)
----websocket_message_test.go(7KB)
----go.sum(8KB)
----mocks_test.go(3KB)
----Makefile(331B)
----string.go(8KB)
----array.go(8KB)
----e2e_fs_test.go(773B)
----response.go(15KB)

网友评论