debugtalk
5b7bcea3d0
feat: make testsuite and run testsuite
2020-05-18 20:32:59 +08:00
debugtalk
bd71a23843
refactor: make testcase
2020-05-18 15:55:38 +08:00
debugtalk
c9039535da
change: split load_test_file
2020-05-18 13:07:57 +08:00
debugtalk
a17ff355a2
fix: handle errors when no valid testcases generated
2020-05-18 11:26:47 +08:00
debugtalk
718fea62e0
change: validate testcase error message
2020-05-18 11:00:51 +08:00
debugtalk
1359839c8b
change: load yaml/json error message
2020-05-18 10:57:45 +08:00
debugtalk
1413f5a8a1
fix: udpate examples
2020-05-18 10:48:27 +08:00
debugtalk
092dc299c6
fix: extract response cookies
2020-05-18 10:48:27 +08:00
debugtalk
102bc2056d
Merge pull request #897 from httprunner/v3
...
## 3.0.3 (2020-05-17)
**Fixed**
- fix: compatibility with testcase file path includes dots, space and minus sign
- fix: testcase generator, validate content.xxx => body.xxx
- fix: scaffold for v3
2020-05-18 10:47:56 +08:00
debugtalk
f3f2ed10f5
fix: compatibility with testcase file path includes minus sign
2020-05-17 12:45:03 +08:00
debugtalk
bf96c6519a
docs: update changelog
2020-05-17 12:25:15 +08:00
debugtalk
c9a0177a0c
change: update scaffold for v3
2020-05-17 12:21:30 +08:00
debugtalk
670d0db64f
change: add origin yaml/json testcase path in generated python testcases
2020-05-17 11:10:13 +08:00
debugtalk
2e46ce6889
bump version 3.0.3
2020-05-17 10:58:14 +08:00
debugtalk
79971f6aaa
change: har2case generate testcase config with verify False
2020-05-17 10:51:06 +08:00
debugtalk
0133d62a82
fix: convert_testcase_path
2020-05-17 10:44:46 +08:00
debugtalk
85f02c763f
fix: convert testcase validator, content => body
2020-05-17 09:56:11 +08:00
debugtalk
5a8af565d8
fix: compatibility with file name includes dots and space
2020-05-17 09:53:54 +08:00
debugtalk
66928064b5
Merge pull request #896 from httprunner/v3
...
## 3.0.2 (2020-05-16)
**Added**
- feat: add `make` sub-command to generate python testcases from YAML/JSON
- feat: format generated python testcases with [`black`](https://github.com/psf/black )
- test: add postman echo & httpbin as testcase examples
**Changed**
- refactor all
- replace jsonschema validation with pydantic
- remove compatibility with testcase/testsuite format v1
- replace unittest with pytest
- remove builtin html report, allure will be used with pytest later
- remove locust support temporarily
- update command line interface
2020-05-16 16:45:51 +08:00
debugtalk
47cb457fc5
style: add type
2020-05-16 16:39:13 +08:00
debugtalk
add392adf3
feat: implement upload keyword
2020-05-16 16:34:06 +08:00
debugtalk
a971c164ee
docs: update changelog
2020-05-16 15:25:46 +08:00
debugtalk
996e1f1902
change: coverage source code only
2020-05-16 15:15:26 +08:00
debugtalk
975f01d22f
fix: unittests
2020-05-16 15:10:14 +08:00
debugtalk
1e61ceebae
test: udpate github flow
2020-05-16 14:58:57 +08:00
debugtalk
19df8b05fe
fix: unittests
2020-05-16 14:43:49 +08:00
debugtalk
623c059101
fix: update step data before raise exception
2020-05-16 14:22:44 +08:00
debugtalk
d70f697501
change: remove unused model fields
2020-05-16 13:12:39 +08:00
debugtalk
a820269a56
refactor: make HttpRunner class variables private
2020-05-16 12:56:02 +08:00
debugtalk
fe6772f84c
test: add example tests on httpbin
2020-05-16 12:55:30 +08:00
debugtalk
e028b56d7e
refactor: remove unused code
2020-05-15 23:43:46 +08:00
debugtalk
b217a66884
fix: parse testcase config before running
2020-05-15 23:32:12 +08:00
debugtalk
94757c7bdd
change: remove unittests with flask mock server
2020-05-15 23:15:03 +08:00
debugtalk
0e5ca838fb
change: remove locust temporarily
2020-05-15 22:48:59 +08:00
debugtalk
d05c235029
refactor: remove unused code
2020-05-15 22:23:16 +08:00
debugtalk
cc70c2fda3
fix: httprunner command
2020-05-15 22:10:40 +08:00
debugtalk
907512e214
feat: run specified YAML/JSON testcase file
2020-05-15 21:56:47 +08:00
debugtalk
2cd9eba6a3
refactor: use HttpRunner as testcase base class
2020-05-15 20:07:18 +08:00
debugtalk
80a600bccc
feat: run testcase with pytest
2020-05-15 18:30:06 +08:00
debugtalk
2f93b2b73a
change: simplify testcase import
2020-05-15 16:41:54 +08:00
debugtalk
af8ffb87fe
change: support make testcases for multiple testcase path
2020-05-15 16:30:05 +08:00
debugtalk
be895f2f77
fix: command alias for hrun -V
2020-05-15 16:16:22 +08:00
debugtalk
c8844b5f7d
feat: add har2case command alias
2020-05-15 16:02:50 +08:00
debugtalk
3e4c798e8a
feat: add hmake command alias
2020-05-15 15:58:20 +08:00
debugtalk
ca7570443f
refactor: replace loader
2020-05-15 15:50:35 +08:00
debugtalk
59062bf8b5
change: remove jsonpath dependency
2020-05-15 15:29:49 +08:00
debugtalk
953fb26c64
feat: format generated python testcases with black
2020-05-15 15:23:00 +08:00
debugtalk
4372705436
change: add typing
2020-05-15 15:04:02 +08:00
debugtalk
0647bd4e25
feat: add with_project_meta for runner
2020-05-15 14:54:45 +08:00
debugtalk
5323d9f5c2
change: rename TestCaseInOut field
2020-05-15 12:47:30 +08:00
debugtalk
47b281eba8
feat: get testcase result summary
2020-05-15 12:10:55 +08:00
debugtalk
1aacd9ffbb
change: remove ProjectMeta variables field
2020-05-15 11:45:53 +08:00
debugtalk
de3c53aa9a
change: remove TConfig functions field
2020-05-15 11:39:17 +08:00
debugtalk
77fc3546e1
change: update loader
2020-05-15 11:34:21 +08:00
debugtalk
75f924c683
feat: cache loading project meta
2020-05-15 11:13:53 +08:00
debugtalk
8ab3968fb5
fix: log error when make testcase failed
2020-05-15 10:48:27 +08:00
debugtalk
598d660b6e
change: rename schema model name and class name
2020-05-15 00:04:18 +08:00
debugtalk
f13a3e4134
feat: add make sub command
2020-05-14 23:38:47 +08:00
debugtalk
6c29ea3554
feat: run test with reference testcase
2020-05-14 23:21:15 +08:00
debugtalk
f88845d9d4
change: python testcase template
2020-05-14 22:41:35 +08:00
debugtalk
ba0611a09a
feat: convert YAML/JSON testcase to python testcase
2020-05-14 16:53:14 +08:00
debugtalk
1c97e0bbfe
change: format code with balck
2020-05-14 14:21:35 +08:00
debugtalk
a95d4137c1
change: http client with pydantic models
2020-05-14 00:11:13 +08:00
debugtalk
f3ca17febd
feat: run referenced testcase in v3
2020-05-11 18:36:25 +08:00
debugtalk
b24cec4ca9
fix unittest
2020-04-23 22:38:16 +08:00
debugtalk
826fca83c2
refactor: merge v3
2020-04-23 21:53:03 +08:00
debugtalk
c21de865f3
change: remove --failfast argument, stop test run on the first error or failure by default
2020-04-23 21:53:03 +08:00
debugtalk
ae229593ad
fix html template
2020-04-23 21:53:03 +08:00
debugtalk
8dd2cbc5c4
refactor: rename project_mapping to project_meta
2020-04-23 21:53:03 +08:00
debugtalk
c3ae5b8b0e
fix html template
2020-04-23 21:53:03 +08:00
debugtalk
48c7bc5514
refactor: rename TestSuiteSummary field details to testcases
2020-04-23 21:53:03 +08:00
debugtalk
437ba8f07b
fix: session data in step_datas
2020-04-23 21:53:03 +08:00
debugtalk
1fb20e948f
feat: add gen_html_report method for HttpRunner class
2020-04-23 21:53:03 +08:00
debugtalk
6dda579be8
feat: start_at_iso_format
2020-04-23 21:53:03 +08:00
debugtalk
4e9e17c4d7
change: remove total_response_time
2020-04-23 21:53:03 +08:00
debugtalk
8f55bead99
refactor: change variable name from meta_data to session_data
2020-04-23 21:53:03 +08:00
debugtalk
3bc124ddff
refactor: change variable name from meta_datas to step_datas
2020-04-23 21:53:03 +08:00
debugtalk
f6714aff03
refactor: adjust summary data structure
2020-04-23 21:53:03 +08:00
debugtalk
f423437c0b
fix html report
2020-04-23 21:53:03 +08:00
debugtalk
7f693d3521
refactor: add typing with pydantic
2020-04-23 21:53:03 +08:00
debugtalk
1d63acfc49
refactor: get testcase summary when run suite
2020-04-23 21:53:03 +08:00
debugtalk
59dea2be20
fix
2020-04-23 21:53:03 +08:00
debugtalk
7e42fa34cf
change: remove unused code
2020-04-23 21:53:03 +08:00
debugtalk
b98d95c69b
change cli: run_path
2020-04-23 21:53:03 +08:00
debugtalk
97a0be3730
change: update schema
2020-04-23 21:53:03 +08:00
debugtalk
a428cd3517
fix: log request & response meta data when test failed
2020-04-23 21:53:03 +08:00
debugtalk
de4fef133a
feat: log detailed request & response when failed
2020-04-23 21:53:03 +08:00
debugtalk
028f728db6
feat: html report for v3
2020-04-23 21:53:03 +08:00
debugtalk
3dd08419be
feat: implement HttpRunner main interface v3
2020-04-23 21:53:03 +08:00
debugtalk
90eeec1d77
refactor: make run_step as private method
2020-04-23 21:53:03 +08:00
debugtalk
c968f762a1
fix: record teststep name
2020-04-23 21:53:03 +08:00
debugtalk
3dded5c5d1
feat: get request & response meta datas
2020-04-23 21:53:03 +08:00
debugtalk
25b37ebc57
fix: show assert value type when validation failed
2020-04-23 21:53:03 +08:00
debugtalk
43c4c6590b
refactor: validate with builtin assert methods
2020-04-23 21:53:03 +08:00
debugtalk
1ffe851727
feat: validate with functions
2020-04-23 21:53:03 +08:00
debugtalk
2c0f51041a
refactor: rename TestStep model field, validators
2020-04-23 21:53:03 +08:00
debugtalk
f081cf05f2
feat: validate with config/teststep/extracted variables
2020-04-23 21:53:03 +08:00
debugtalk
d874f3f3da
refactor: change example file name
2020-04-23 21:53:03 +08:00
debugtalk
d79fc26567
refactor: add argument typing
2020-04-23 21:53:03 +08:00
debugtalk
6ea52ed3f8
refactor: replace with get_mapping_variable
2020-04-23 21:53:03 +08:00