From d4c1f0031754309951975bb78bbe3959f9c68b76 Mon Sep 17 00:00:00 2001 From: debugtalk Date: Thu, 9 Jun 2022 23:50:04 +0800 Subject: [PATCH] change: update for v4.1.2 --- build/Dockerfile => Dockerfile | 0 docs/CHANGELOG.md | 17 ++++++++++++++--- docs/cmd/hrp.md | 3 +-- docs/cmd/hrp_boom.md | 2 +- docs/cmd/hrp_build.md | 2 +- docs/cmd/hrp_convert.md | 4 ++-- docs/cmd/hrp_pytest.md | 2 +- docs/cmd/hrp_run.md | 2 +- docs/cmd/hrp_startproject.md | 2 +- docs/cmd/hrp_wiki.md | 2 +- examples/demo-empty-project/proj.json | 6 +++--- examples/demo-with-go-plugin/proj.json | 6 +++--- examples/demo-with-py-plugin/.debugtalk_gen.py | 2 +- examples/demo-with-py-plugin/proj.json | 6 +++--- examples/demo-without-plugin/proj.json | 6 +++--- go.sum | 2 -- .../scaffold/templates/plugin/.debugtalk_gen.py | 2 +- .../scaffold/templates/plugin/debugtalk_gen.go | 2 +- .../testcases/demo_with_funplugin.json | 2 +- .../testcases/demo_without_funplugin.json | 2 +- 20 files changed, 40 insertions(+), 32 deletions(-) rename build/Dockerfile => Dockerfile (100%) diff --git a/build/Dockerfile b/Dockerfile similarity index 100% rename from build/Dockerfile rename to Dockerfile diff --git a/docs/CHANGELOG.md b/docs/CHANGELOG.md index 4469315a..a19ddf85 100644 --- a/docs/CHANGELOG.md +++ b/docs/CHANGELOG.md @@ -1,12 +1,23 @@ # Release History -## v4.1.2 (2022-06-05) +## v4.1.2 (2022-06-09) + +- feat: add Dockerfile +- fix #1336: extract package in Windows +- fix: install package on MinGW64 and Windows + +**go version** - fix #1331: use `str_eq` to assert string and digit equality -- fix #1336: extract package in Windows -- fix: install package on MinGW64 +- fix: load overall `pick_order` strategy in parameters_setting +- fix: ensure all dependencies in debugtalk.py are installed +- fix: select parameters with `random` strategy - change: remove `hrp har2case`, replace with `hrp convert` +**python version** + +- feat #1316: add running log and request & response details in allure report + ## v4.1.1 (2022-05-31) - fix: failed to build debugtalk.go without go.mod diff --git a/docs/cmd/hrp.md b/docs/cmd/hrp.md index fdc9a0ff..7a58c565 100644 --- a/docs/cmd/hrp.md +++ b/docs/cmd/hrp.md @@ -32,10 +32,9 @@ Copyright 2017 debugtalk * [hrp boom](hrp_boom.md) - run load test with boomer * [hrp build](hrp_build.md) - build plugin for testing * [hrp convert](hrp_convert.md) - convert to JSON/YAML/gotest/pytest testcases -* [hrp har2case](hrp_har2case.md) - convert HAR to json/yaml testcase files * [hrp pytest](hrp_pytest.md) - run API test with pytest * [hrp run](hrp_run.md) - run API test with go engine * [hrp startproject](hrp_startproject.md) - create a scaffold project * [hrp wiki](hrp_wiki.md) - visit https://httprunner.com -###### Auto generated by spf13/cobra on 29-May-2022 +###### Auto generated by spf13/cobra on 9-Jun-2022 diff --git a/docs/cmd/hrp_boom.md b/docs/cmd/hrp_boom.md index 2eb2185a..a13c1168 100644 --- a/docs/cmd/hrp_boom.md +++ b/docs/cmd/hrp_boom.md @@ -42,4 +42,4 @@ hrp boom [flags] * [hrp](hrp.md) - Next-Generation API Testing Solution. -###### Auto generated by spf13/cobra on 29-May-2022 +###### Auto generated by spf13/cobra on 9-Jun-2022 diff --git a/docs/cmd/hrp_build.md b/docs/cmd/hrp_build.md index 25a5f01d..8b886d77 100644 --- a/docs/cmd/hrp_build.md +++ b/docs/cmd/hrp_build.md @@ -28,4 +28,4 @@ hrp build $path ... [flags] * [hrp](hrp.md) - Next-Generation API Testing Solution. -###### Auto generated by spf13/cobra on 29-May-2022 +###### Auto generated by spf13/cobra on 9-Jun-2022 diff --git a/docs/cmd/hrp_convert.md b/docs/cmd/hrp_convert.md index d063a34d..8105d41e 100644 --- a/docs/cmd/hrp_convert.md +++ b/docs/cmd/hrp_convert.md @@ -11,7 +11,7 @@ hrp convert $path... [flags] ``` -h, --help help for convert -d, --output-dir string specify output directory, default to the same dir with har file - -p, --profile string specify profile path to override headers (except for auto-generated headers) and cookies + -p, --profile string specify profile path to override headers and cookies --to-gotest convert to gotest scripts (TODO) --to-json convert to JSON scripts (default) --to-pytest convert to pytest scripts @@ -22,4 +22,4 @@ hrp convert $path... [flags] * [hrp](hrp.md) - Next-Generation API Testing Solution. -###### Auto generated by spf13/cobra on 29-May-2022 +###### Auto generated by spf13/cobra on 9-Jun-2022 diff --git a/docs/cmd/hrp_pytest.md b/docs/cmd/hrp_pytest.md index 2fefe6a9..70be0989 100644 --- a/docs/cmd/hrp_pytest.md +++ b/docs/cmd/hrp_pytest.md @@ -16,4 +16,4 @@ hrp pytest $path ... [flags] * [hrp](hrp.md) - Next-Generation API Testing Solution. -###### Auto generated by spf13/cobra on 29-May-2022 +###### Auto generated by spf13/cobra on 9-Jun-2022 diff --git a/docs/cmd/hrp_run.md b/docs/cmd/hrp_run.md index 36cffa03..ad37cb40 100644 --- a/docs/cmd/hrp_run.md +++ b/docs/cmd/hrp_run.md @@ -35,4 +35,4 @@ hrp run $path... [flags] * [hrp](hrp.md) - Next-Generation API Testing Solution. -###### Auto generated by spf13/cobra on 29-May-2022 +###### Auto generated by spf13/cobra on 9-Jun-2022 diff --git a/docs/cmd/hrp_startproject.md b/docs/cmd/hrp_startproject.md index cd73617f..05c015da 100644 --- a/docs/cmd/hrp_startproject.md +++ b/docs/cmd/hrp_startproject.md @@ -21,4 +21,4 @@ hrp startproject $project_name [flags] * [hrp](hrp.md) - Next-Generation API Testing Solution. -###### Auto generated by spf13/cobra on 29-May-2022 +###### Auto generated by spf13/cobra on 9-Jun-2022 diff --git a/docs/cmd/hrp_wiki.md b/docs/cmd/hrp_wiki.md index 5ae6bde5..dcfd35ea 100644 --- a/docs/cmd/hrp_wiki.md +++ b/docs/cmd/hrp_wiki.md @@ -16,4 +16,4 @@ hrp wiki [flags] * [hrp](hrp.md) - Next-Generation API Testing Solution. -###### Auto generated by spf13/cobra on 29-May-2022 +###### Auto generated by spf13/cobra on 9-Jun-2022 diff --git a/examples/demo-empty-project/proj.json b/examples/demo-empty-project/proj.json index 5d124adb..2c83dda1 100644 --- a/examples/demo-empty-project/proj.json +++ b/examples/demo-empty-project/proj.json @@ -1,5 +1,5 @@ { "project_name": "demo-empty-project", - "create_time": "2022-05-31T15:05:51.196187+08:00", - "hrp_version": "v4.1.1" -} \ No newline at end of file + "create_time": "2022-06-09T23:39:15.678957+08:00", + "hrp_version": "v4.1.2" +} diff --git a/examples/demo-with-go-plugin/proj.json b/examples/demo-with-go-plugin/proj.json index be9dfdaf..477b6be7 100644 --- a/examples/demo-with-go-plugin/proj.json +++ b/examples/demo-with-go-plugin/proj.json @@ -1,5 +1,5 @@ { "project_name": "demo-with-go-plugin", - "create_time": "2022-05-31T15:05:49.894029+08:00", - "hrp_version": "v4.1.1" -} \ No newline at end of file + "create_time": "2022-06-09T23:39:14.781583+08:00", + "hrp_version": "v4.1.2" +} diff --git a/examples/demo-with-py-plugin/.debugtalk_gen.py b/examples/demo-with-py-plugin/.debugtalk_gen.py index d3b72a66..880c145f 100644 --- a/examples/demo-with-py-plugin/.debugtalk_gen.py +++ b/examples/demo-with-py-plugin/.debugtalk_gen.py @@ -1,4 +1,4 @@ -# NOTE: Generated By hrp v4.1.1, DO NOT EDIT! +# NOTE: Generated By hrp v4.1.2, DO NOT EDIT! import logging import time diff --git a/examples/demo-with-py-plugin/proj.json b/examples/demo-with-py-plugin/proj.json index ccf2b5d5..1cf81b3a 100644 --- a/examples/demo-with-py-plugin/proj.json +++ b/examples/demo-with-py-plugin/proj.json @@ -1,5 +1,5 @@ { "project_name": "demo-with-py-plugin", - "create_time": "2022-05-31T15:05:50.036068+08:00", - "hrp_version": "v4.1.1" -} \ No newline at end of file + "create_time": "2022-06-09T23:39:14.922843+08:00", + "hrp_version": "v4.1.2" +} diff --git a/examples/demo-without-plugin/proj.json b/examples/demo-without-plugin/proj.json index 7c95fdb6..8153f569 100644 --- a/examples/demo-without-plugin/proj.json +++ b/examples/demo-without-plugin/proj.json @@ -1,5 +1,5 @@ { "project_name": "demo-without-plugin", - "create_time": "2022-05-31T15:05:51.066376+08:00", - "hrp_version": "v4.1.1" -} \ No newline at end of file + "create_time": "2022-06-09T23:39:15.552117+08:00", + "hrp_version": "v4.1.2" +} diff --git a/go.sum b/go.sum index c10a45e2..466fe49c 100644 --- a/go.sum +++ b/go.sum @@ -253,8 +253,6 @@ github.com/hashicorp/memberlist v0.1.3/go.mod h1:ajVTdAv/9Im8oMAAj5G31PhhMCZJV2p github.com/hashicorp/serf v0.8.2/go.mod h1:6hOLApaqBFA1NXqRQAsxw9QxuDEvNxSQRwA/JwenrHc= github.com/hashicorp/yamux v0.0.0-20180604194846-3520598351bb h1:b5rjCoWHc7eqmAS4/qyk21ZsHyb6Mxv/jykxvNTkU4M= github.com/hashicorp/yamux v0.0.0-20180604194846-3520598351bb/go.mod h1:+NfK9FKeTrX5uv1uIXGdwYDTeHna2qgaIlx54MXqjAM= -github.com/httprunner/funplugin v0.4.8 h1:G785jrEn6EAEg2nwuPcCQUHBTgwgoaSz5qdQU4X3JpI= -github.com/httprunner/funplugin v0.4.8/go.mod h1:vPyeJIfbpGe0epZZtAV0wCn16gLY9+imSw/zfxq0Lcc= github.com/httprunner/funplugin v0.4.9 h1:gmF1sP5D4/nvdocqgOAyT3GpVDz3fL4ErZ17WHo8x9U= github.com/httprunner/funplugin v0.4.9/go.mod h1:vPyeJIfbpGe0epZZtAV0wCn16gLY9+imSw/zfxq0Lcc= github.com/ianlancetaylor/demangle v0.0.0-20181102032728-5e5cf60278f6/go.mod h1:aSSvb/t6k1mPoxDqO4vJh6VOCGPwU4O0C2/Eqndh1Sc= diff --git a/hrp/internal/scaffold/templates/plugin/.debugtalk_gen.py b/hrp/internal/scaffold/templates/plugin/.debugtalk_gen.py index d3b72a66..880c145f 100644 --- a/hrp/internal/scaffold/templates/plugin/.debugtalk_gen.py +++ b/hrp/internal/scaffold/templates/plugin/.debugtalk_gen.py @@ -1,4 +1,4 @@ -# NOTE: Generated By hrp v4.1.1, DO NOT EDIT! +# NOTE: Generated By hrp v4.1.2, DO NOT EDIT! import logging import time diff --git a/hrp/internal/scaffold/templates/plugin/debugtalk_gen.go b/hrp/internal/scaffold/templates/plugin/debugtalk_gen.go index a2339a42..1e6ceac9 100644 --- a/hrp/internal/scaffold/templates/plugin/debugtalk_gen.go +++ b/hrp/internal/scaffold/templates/plugin/debugtalk_gen.go @@ -1,4 +1,4 @@ -// NOTE: Generated By hrp v4.1.1, DO NOT EDIT! +// NOTE: Generated By hrp v4.1.2, DO NOT EDIT! package main import ( diff --git a/hrp/internal/scaffold/templates/testcases/demo_with_funplugin.json b/hrp/internal/scaffold/templates/testcases/demo_with_funplugin.json index 1bb63ed8..8e50e2aa 100644 --- a/hrp/internal/scaffold/templates/testcases/demo_with_funplugin.json +++ b/hrp/internal/scaffold/templates/testcases/demo_with_funplugin.json @@ -173,4 +173,4 @@ ] } ] -} \ No newline at end of file +} diff --git a/hrp/internal/scaffold/templates/testcases/demo_without_funplugin.json b/hrp/internal/scaffold/templates/testcases/demo_without_funplugin.json index 29f311bc..2931701d 100644 --- a/hrp/internal/scaffold/templates/testcases/demo_without_funplugin.json +++ b/hrp/internal/scaffold/templates/testcases/demo_without_funplugin.json @@ -167,4 +167,4 @@ ] } ] -} \ No newline at end of file +}