Commit Graph
100 Commits
Author SHA1 Message Date
debugtalk 2d000b28a8 change: format code with black 2020-05-22 15:08:45 +08:00
debugtalk 78db9d162a Merge branch 'master' into v3 2020-05-22 14:59:50 +08:00
debugtalk 12a67438a9 docs: add examples for session_fixture and testcase_fixture 2020-05-22 14:53:54 +08:00
debugtalk 055fae6d93 test: add test for debugging pytest 2020-05-22 14:47:12 +08:00
debugtalk 9327b232bc feat: log request cookies 2020-05-22 13:28:56 +08:00
debugtalk 349d4b7751 fix: parse config name 2020-05-22 13:13:46 +08:00
debugtalk 07ec852f6c feat: dump log for each testcase 2020-05-22 12:57:25 +08:00
debugtalk 814da4f1e8 feat: each testcase has an unique id in uuid4 format 2020-05-21 20:14:09 +08:00
debugtalk a273acbc0c change: update allure report meta, title and description 2020-05-21 18:07:56 +08:00
debugtalk 74f8a79e73 change: remove default added -s option for hrun 2020-05-21 18:06:52 +08:00
debugtalk 9a969b295e feat: builtin allure report 2020-05-21 17:34:51 +08:00
debugtalk 354e4c2726 feat: add default header for each testcase #721 2020-05-21 16:11:33 +08:00
debugtalk 7b819ab311 fix: ensure referenced testcase share the same session 2020-05-21 15:25:56 +08:00
debugtalk 393a18758b Merge pull request #903 from httprunner/v3
docs: update README
2020-05-19 22:14:35 +08:00
debugtalk 52cac1e44f docs: update README 2020-05-19 22:07:17 +08:00
debugtalk ef53fff421 Merge pull request #902 from httprunner/v3
## 3.0.4 (2020-05-19)

**Added**

- feat: make testsuite and run testsuite
- feat: testcase/testsuite config support getting variables by function
- feat: har2case with request cookies
- feat: log request/response headers and body with indent

**Fixed**

- fix: extract response cookies
- fix: handle errors when no valid testcases generated

**Changed**

- change: har2case do not ignore request headers, except for header startswith :
2020-05-19 20:56:09 +08:00
debugtalk ba7cc9df62 feat: log request/response headers and body with indent 2020-05-19 16:07:41 +08:00
debugtalk aa8a21577e bump version to 3.0.4 2020-05-19 15:51:20 +08:00
debugtalk 405e20ca90 fix: remove request header startswith : e.g. :method, :scheme 2020-05-19 13:11:46 +08:00
debugtalk 4aeb418f60 fix: remove cookie in request headers 2020-05-19 12:56:18 +08:00
debugtalk d8032c2f89 change: har2case do not ignore request headers 2020-05-19 11:59:25 +08:00
debugtalk 990fc1de0e feat: har2case with request cookies 2020-05-19 11:57:01 +08:00
debugtalk 32e9eaad6a docs: update changelog 2020-05-19 11:08:16 +08:00
debugtalk 5a506f1767 change: format pytest case after all testcases generated 2020-05-19 11:02:18 +08:00
debugtalk ec744f9dce change: testsuite pytest dirname 2020-05-19 10:43:36 +08:00
debugtalk 2063bf81d6 test: update examples 2020-05-18 23:22:03 +08:00
debugtalk 870cc9f18b feat: testcase config get variables by call function 2020-05-18 22:49:58 +08:00
debugtalk 49e84b537e feat: testsuite config get variables by call function 2020-05-18 22:38:59 +08:00
debugtalk 6f5730ce84 feat: make testsuite and run testsuite 2020-05-18 20:32:59 +08:00
debugtalk 65adffb7d6 refactor: make testcase 2020-05-18 15:55:38 +08:00
debugtalk dee208640a change: split load_test_file 2020-05-18 13:07:57 +08:00
debugtalk 18a39d81ab fix: handle errors when no valid testcases generated 2020-05-18 11:26:47 +08:00
debugtalk ed2ca33f65 change: validate testcase error message 2020-05-18 11:00:51 +08:00
debugtalk 24f216d501 change: load yaml/json error message 2020-05-18 10:57:45 +08:00
debugtalk 1e27444bd2 fix: udpate examples 2020-05-18 10:48:27 +08:00
debugtalk e345bcef50 fix: extract response cookies 2020-05-18 10:48:27 +08:00
debugtalk a40c7892f3 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 a5cc532541 fix: compatibility with testcase file path includes minus sign 2020-05-17 12:45:03 +08:00
debugtalk a303610b8c docs: update changelog 2020-05-17 12:25:15 +08:00
debugtalk 4228e6c2b0 change: update scaffold for v3 2020-05-17 12:21:30 +08:00
debugtalk b3f478f63c change: add origin yaml/json testcase path in generated python testcases 2020-05-17 11:10:13 +08:00
debugtalk 4211f009c8 bump version 3.0.3 2020-05-17 10:58:14 +08:00
debugtalk 5cd895b52a change: har2case generate testcase config with verify False 2020-05-17 10:51:06 +08:00
debugtalk 9b2a06a985 fix: convert_testcase_path 2020-05-17 10:44:46 +08:00
debugtalk 8cae972e47 fix: convert testcase validator, content => body 2020-05-17 09:56:11 +08:00
debugtalk bb179575e5 fix: compatibility with file name includes dots and space 2020-05-17 09:53:54 +08:00
debugtalk f18f9bddbd 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 eee1f97332 style: add type 2020-05-16 16:39:13 +08:00
debugtalk 2647456832 feat: implement upload keyword 2020-05-16 16:34:06 +08:00
debugtalk 57e2407461 docs: update changelog 2020-05-16 15:25:46 +08:00
debugtalk b15e12f95f change: coverage source code only 2020-05-16 15:15:26 +08:00
debugtalk 2160171305 fix: unittests 2020-05-16 15:10:14 +08:00
debugtalk 51f850c856 test: udpate github flow 2020-05-16 14:58:57 +08:00
debugtalk 772d03f9da fix: unittests 2020-05-16 14:43:49 +08:00
debugtalk 327f57bf79 fix: update step data before raise exception 2020-05-16 14:22:44 +08:00
debugtalk 0c74625043 change: remove unused model fields 2020-05-16 13:12:39 +08:00
debugtalk 7ca3e12920 refactor: make HttpRunner class variables private 2020-05-16 12:56:02 +08:00
debugtalk 103f403fc4 test: add example tests on httpbin 2020-05-16 12:55:30 +08:00
debugtalk bad461744a refactor: remove unused code 2020-05-15 23:43:46 +08:00
debugtalk 3b3a0321c8 fix: parse testcase config before running 2020-05-15 23:32:12 +08:00
debugtalk 69ade18828 change: remove unittests with flask mock server 2020-05-15 23:15:03 +08:00
debugtalk 6bc4be59ff change: remove locust temporarily 2020-05-15 22:48:59 +08:00
debugtalk fe32e8441a refactor: remove unused code 2020-05-15 22:23:16 +08:00
debugtalk 9a299f618d fix: httprunner command 2020-05-15 22:10:40 +08:00
debugtalk 62e1149a4f feat: run specified YAML/JSON testcase file 2020-05-15 21:56:47 +08:00
debugtalk 2ab0b85985 refactor: use HttpRunner as testcase base class 2020-05-15 20:07:18 +08:00
debugtalk 212130b91f feat: run testcase with pytest 2020-05-15 18:30:06 +08:00
debugtalk 1158da186c change: simplify testcase import 2020-05-15 16:41:54 +08:00
debugtalk 5354e4b70d change: support make testcases for multiple testcase path 2020-05-15 16:30:05 +08:00
debugtalk 750f802fa5 fix: command alias for hrun -V 2020-05-15 16:16:22 +08:00
debugtalk d602dbf312 feat: add har2case command alias 2020-05-15 16:02:50 +08:00
debugtalk 0c6fff20cb feat: add hmake command alias 2020-05-15 15:58:20 +08:00
debugtalk 3f6482e79f refactor: replace loader 2020-05-15 15:50:35 +08:00
debugtalk 0d2488ce10 change: remove jsonpath dependency 2020-05-15 15:29:49 +08:00
debugtalk d3d434bde0 feat: format generated python testcases with black 2020-05-15 15:23:00 +08:00
debugtalk 98cfa79258 change: add typing 2020-05-15 15:04:02 +08:00
debugtalk c54b15d29e feat: add with_project_meta for runner 2020-05-15 14:54:45 +08:00
debugtalk d8fad29658 change: rename TestCaseInOut field 2020-05-15 12:47:30 +08:00
debugtalk d1157976fa feat: get testcase result summary 2020-05-15 12:10:55 +08:00
debugtalk 97d9bba5e2 change: remove ProjectMeta variables field 2020-05-15 11:45:53 +08:00
debugtalk 454c70d062 change: remove TConfig functions field 2020-05-15 11:39:17 +08:00
debugtalk 647d8c6312 change: update loader 2020-05-15 11:34:21 +08:00
debugtalk 46d3793244 feat: cache loading project meta 2020-05-15 11:13:53 +08:00
debugtalk 7896a57a72 fix: log error when make testcase failed 2020-05-15 10:48:27 +08:00
debugtalk 98f4a8f065 change: rename schema model name and class name 2020-05-15 00:04:18 +08:00
debugtalk 9a9594b0c1 feat: add make sub command 2020-05-14 23:38:47 +08:00
debugtalk 23399772ef feat: run test with reference testcase 2020-05-14 23:21:15 +08:00
debugtalk 6ebbc81fd1 change: python testcase template 2020-05-14 22:41:35 +08:00
debugtalk 202f040c1c feat: convert YAML/JSON testcase to python testcase 2020-05-14 16:53:14 +08:00
debugtalk 9ba550bd9f change: format code with balck 2020-05-14 14:21:35 +08:00
debugtalk bdd8b53d89 change: http client with pydantic models 2020-05-14 00:11:13 +08:00
debugtalk 7c78f97795 feat: run referenced testcase in v3 2020-05-11 18:36:25 +08:00
debugtalk 4fdf3d6c70 fix unittest 2020-04-23 22:38:16 +08:00
debugtalk 0861e6b687 refactor: merge v3 2020-04-23 21:53:03 +08:00
debugtalk 910b335e9d change: remove --failfast argument, stop test run on the first error or failure by default 2020-04-23 21:53:03 +08:00
debugtalk ee903e12e8 fix html template 2020-04-23 21:53:03 +08:00
debugtalk 552e371426 refactor: rename project_mapping to project_meta 2020-04-23 21:53:03 +08:00
debugtalk 6bd6818d58 fix html template 2020-04-23 21:53:03 +08:00
debugtalk 48bd79d049 refactor: rename TestSuiteSummary field details to testcases 2020-04-23 21:53:03 +08:00
debugtalk 4fc95aa261 fix: session data in step_datas 2020-04-23 21:53:03 +08:00