bump version

This commit is contained in:
lilong.129
2023-05-31 20:50:40 +08:00
parent fe5d1d2ec0
commit 67d4c33914
19 changed files with 44 additions and 43 deletions
+3 -2
View File
@@ -8,10 +8,11 @@
- feat: cache screenshot ocr texts - feat: cache screenshot ocr texts
- feat: set testcase and request timeout in seconds - feat: set testcase and request timeout in seconds
- feat: catch interrupt signal - feat: catch interrupt signal
- feat: add new exit code MobileUILaunchAppError/InterruptError/TimeoutError/MobileUIPopupError - feat: add new exit code MobileUILaunchAppError/InterruptError/TimeoutError/MobileUIActivityNotMatchError/MobileUIPopupError
- feat: find text with regex - feat: find text with regex
- feat: add UI ocr tags to summary - feat: add UI ocr tags to summary
- refactor: simplify OCR APIs - feat: check android device offline when running shell failed
- refactor: replace OCR APIs with image APIs
- refactor: FindText(s) returns OCRText(s) - refactor: FindText(s) returns OCRText(s)
- refactor: merge ActionOption with DataOption - refactor: merge ActionOption with DataOption
- change: exit with AndroidShellExecError code for adb shell failure - change: exit with AndroidShellExecError code for adb shell failure
+2 -4
View File
@@ -31,14 +31,12 @@ Copyright 2017 debugtalk
* [hrp boom](hrp_boom.md) - run load test with boomer * [hrp boom](hrp_boom.md) - run load test with boomer
* [hrp build](hrp_build.md) - build plugin for testing * [hrp build](hrp_build.md) - build plugin for testing
* [hrp convert](hrp_convert.md) - convert to JSON/YAML/gotest/pytest testcases * [hrp convert](hrp_convert.md) - convert multiple source format to HttpRunner JSON/YAML/gotest/pytest cases
* [hrp curl](hrp_curl.md) - run integrated curl command
* [hrp dns](hrp_dns.md) - DNS resolution for different source and record types * [hrp dns](hrp_dns.md) - DNS resolution for different source and record types
* [hrp ping](hrp_ping.md) - run integrated ping command * [hrp ping](hrp_ping.md) - run integrated ping command
* [hrp pytest](hrp_pytest.md) - run API test with pytest * [hrp pytest](hrp_pytest.md) - run API test with pytest
* [hrp run](hrp_run.md) - run API test with go engine * [hrp run](hrp_run.md) - run API test with go engine
* [hrp startproject](hrp_startproject.md) - create a scaffold project * [hrp startproject](hrp_startproject.md) - create a scaffold project
* [hrp traceroute](hrp_traceroute.md) - run integrated traceroute command
* [hrp wiki](hrp_wiki.md) - visit https://httprunner.com * [hrp wiki](hrp_wiki.md) - visit https://httprunner.com
###### Auto generated by spf13/cobra on 21-Oct-2022 ###### Auto generated by spf13/cobra on 31-May-2023
+1 -2
View File
@@ -53,6 +53,5 @@ hrp boom [flags]
### SEE ALSO ### SEE ALSO
* [hrp](hrp.md) - Next-Generation API Testing Solution. * [hrp](hrp.md) - Next-Generation API Testing Solution.
* [hrp boom curl](hrp_boom_curl.md) - run load test with curl command
###### Auto generated by spf13/cobra on 21-Oct-2022 ###### Auto generated by spf13/cobra on 31-May-2023
+1 -1
View File
@@ -28,4 +28,4 @@ hrp build $path ... [flags]
* [hrp](hrp.md) - Next-Generation API Testing Solution. * [hrp](hrp.md) - Next-Generation API Testing Solution.
###### Auto generated by spf13/cobra on 21-Oct-2022 ###### Auto generated by spf13/cobra on 31-May-2023
+10 -7
View File
@@ -1,6 +1,6 @@
## hrp convert ## hrp convert
convert to JSON/YAML/gotest/pytest testcases convert multiple source format to HttpRunner JSON/YAML/gotest/pytest cases
``` ```
hrp convert $path... [flags] hrp convert $path... [flags]
@@ -9,18 +9,21 @@ hrp convert $path... [flags]
### Options ### Options
``` ```
--from-curl load from curl format
--from-har load from HAR format
--from-json load from json case format (default true)
--from-postman load from postman format
--from-yaml load from yaml case format
-h, --help help for convert -h, --help help for convert
-d, --output-dir string specify output directory, default to the same dir with har file -d, --output-dir string specify output directory
-p, --profile string specify profile path to override 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 case scripts (default true)
--to-json convert to JSON scripts (default)
--to-pytest convert to pytest scripts --to-pytest convert to pytest scripts
--to-yaml convert to YAML scripts --to-yaml convert to YAML case scripts
``` ```
### SEE ALSO ### SEE ALSO
* [hrp](hrp.md) - Next-Generation API Testing Solution. * [hrp](hrp.md) - Next-Generation API Testing Solution.
* [hrp convert curl](hrp_convert_curl.md) - convert curl command to httprunner testcase
###### Auto generated by spf13/cobra on 21-Oct-2022 ###### Auto generated by spf13/cobra on 31-May-2023
+1 -1
View File
@@ -26,4 +26,4 @@ hrp dns $url [flags]
* [hrp](hrp.md) - Next-Generation API Testing Solution. * [hrp](hrp.md) - Next-Generation API Testing Solution.
###### Auto generated by spf13/cobra on 21-Oct-2022 ###### Auto generated by spf13/cobra on 31-May-2023
+1 -1
View File
@@ -20,4 +20,4 @@ hrp ping $url [flags]
* [hrp](hrp.md) - Next-Generation API Testing Solution. * [hrp](hrp.md) - Next-Generation API Testing Solution.
###### Auto generated by spf13/cobra on 21-Oct-2022 ###### Auto generated by spf13/cobra on 31-May-2023
+1 -1
View File
@@ -16,4 +16,4 @@ hrp pytest $path ... [flags]
* [hrp](hrp.md) - Next-Generation API Testing Solution. * [hrp](hrp.md) - Next-Generation API Testing Solution.
###### Auto generated by spf13/cobra on 21-Oct-2022 ###### Auto generated by spf13/cobra on 31-May-2023
+2 -2
View File
@@ -21,6 +21,7 @@ hrp run $path... [flags]
### Options ### Options
``` ```
--case-timeout float32 set testcase timeout (seconds) (default 3600)
-c, --continue-on-failure continue running next step when failure occurs -c, --continue-on-failure continue running next step when failure occurs
-g, --gen-html-report generate html report -g, --gen-html-report generate html report
-h, --help help for run -h, --help help for run
@@ -34,6 +35,5 @@ hrp run $path... [flags]
### SEE ALSO ### SEE ALSO
* [hrp](hrp.md) - Next-Generation API Testing Solution. * [hrp](hrp.md) - Next-Generation API Testing Solution.
* [hrp run curl](hrp_run_curl.md) - run API test with curl command
###### Auto generated by spf13/cobra on 21-Oct-2022 ###### Auto generated by spf13/cobra on 31-May-2023
+1 -1
View File
@@ -21,4 +21,4 @@ hrp startproject $project_name [flags]
* [hrp](hrp.md) - Next-Generation API Testing Solution. * [hrp](hrp.md) - Next-Generation API Testing Solution.
###### Auto generated by spf13/cobra on 21-Oct-2022 ###### Auto generated by spf13/cobra on 31-May-2023
+1 -1
View File
@@ -16,4 +16,4 @@ hrp wiki [flags]
* [hrp](hrp.md) - Next-Generation API Testing Solution. * [hrp](hrp.md) - Next-Generation API Testing Solution.
###### Auto generated by spf13/cobra on 21-Oct-2022 ###### Auto generated by spf13/cobra on 31-May-2023
+2 -2
View File
@@ -1,5 +1,5 @@
{ {
"project_name": "demo-empty-project", "project_name": "demo-empty-project",
"create_time": "2022-10-21T21:54:56.252853+08:00", "create_time": "2023-05-31T20:46:10.736189+08:00",
"hrp_version": "v4.3.0" "hrp_version": "v4.3.4"
} }
+2 -2
View File
@@ -1,5 +1,5 @@
{ {
"project_name": "demo-with-go-plugin", "project_name": "demo-with-go-plugin",
"create_time": "2022-10-21T21:52:38.979867+08:00", "create_time": "2023-05-31T20:44:56.120736+08:00",
"hrp_version": "v4.3.0" "hrp_version": "v4.3.4"
} }
+2 -2
View File
@@ -1,5 +1,5 @@
{ {
"project_name": "demo-with-py-plugin", "project_name": "demo-with-py-plugin",
"create_time": "2022-10-21T21:52:39.555851+08:00", "create_time": "2023-05-31T20:45:00.44921+08:00",
"hrp_version": "v4.3.0" "hrp_version": "v4.3.4"
} }
+2 -2
View File
@@ -1,5 +1,5 @@
{ {
"project_name": "demo-without-plugin", "project_name": "demo-without-plugin",
"create_time": "2022-10-21T21:54:56.136458+08:00", "create_time": "2023-05-31T20:46:10.621009+08:00",
"hrp_version": "v4.3.0" "hrp_version": "v4.3.4"
} }
@@ -1,4 +1,4 @@
# NOTE: Generated By hrp v4.3.0, DO NOT EDIT! # NOTE: Generated By hrp v4.3.4, DO NOT EDIT!
import sys import sys
import os import os
@@ -1,4 +1,4 @@
// NOTE: Generated By hrp v4.3.4-beta-202305032303, DO NOT EDIT! // NOTE: Generated By hrp v4.3.4, DO NOT EDIT!
package main package main
import ( import (
+1 -1
View File
@@ -1 +1 @@
v4.3.4-beta-202305311805 v4.3.4
+1 -1
View File
@@ -452,7 +452,7 @@ func (r *CaseRunner) parseConfig() error {
} }
client, err := device.NewDriver(nil) client, err := device.NewDriver(nil)
if err != nil { if err != nil {
return errors.Wrap(err, "init Android UIAutomator client failed") return errors.Wrap(err, "init Android client failed")
} }
r.hrpRunner.uiClients[device.SerialNumber] = client r.hrpRunner.uiClients[device.SerialNumber] = client
} }