fix: incorrect assertion func and json number parse rule #83
Conversation
Change-Id: I68a811b803631ef78b6b12fe548f98b676a10eb3
Change-Id: I66f25fcf00e36e83308e820b859b4a94907833fc
Change-Id: I41911d2a723ac64d5aa0cdf6b3f99b2554c6a196
Change-Id: I12bc6425e098b62b08bd5ca2fb7a9cc0482e1910
Change-Id: I1e475e8187f6e793cd9f9029af93a7d80603b26d
Change-Id: I3989c88355fe3d70f4753e737e0d0dd4c059c9eb
Change-Id: Ifb364a943351f3762f5784fb8d84d9eb385a383f
Change-Id: Ieae673e12c7baabe231d7f3509bba18624d80431
Codecov Report
@@ Coverage Diff @@
## main #83 +/- ##
==========================================
- Coverage 55.73% 55.67% -0.06%
==========================================
Files 29 28 -1
Lines 3628 3630 +2
==========================================
- Hits 2022 2021 -1
Misses 1461 1461
- Partials 145 148 +3
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
Change-Id: I583aa6344fff967285b024fddef9f45ac8ee2baf
Change-Id: I85d477f85844eee2d98f6231c16b57803a41aba7
docs/BUILTIN.md
Outdated
| `startswith` | starts with | A.startswith(B) is True | 'abc' startswith 'ab' | | ||
| `endswith` | ends with | A.endswith(B) is True | 'abc' endswith 'bc' | | ||
| `regex_match` | regex matches | re.match(B, A) | 'abcdef' regex_match 'a\w+d' | | ||
| `starts_with` | starts with | A.starts_with(B) is True | 'abc' starts_with 'ab' | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
还是保留 startswith/endswith 吧;更自然些,而且跟 Python 版本保持一致
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed
examples/httpbingo_test.json
Outdated
{ | ||
"config": { | ||
"name": "request methods testcase: validate with parameters", | ||
"base_url": "https://httpbingo.bytedance.net" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
代码中不要带字节的内网域名。示例代码还是使用 postman echo 的吧
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed
Change-Id: I3e1c6fd82812d13b4e23ecd6b23c4d57170852e1
Change-Id: I6fdf2291bdf953f19ee6e9474020a2ab72186acf
Main Changes