Commit Graph

1634 Commits

Author SHA1 Message Date
debugtalk
695e313aba change: har2case do not ignore request headers 2020-05-19 11:59:25 +08:00
debugtalk
cb62ad0f93 feat: har2case with request cookies 2020-05-19 11:57:01 +08:00
debugtalk
c13598d2af docs: update changelog 2020-05-19 11:08:16 +08:00
debugtalk
7ef1ca608c change: format pytest case after all testcases generated 2020-05-19 11:02:18 +08:00
debugtalk
c2ee26d5b5 change: testsuite pytest dirname 2020-05-19 10:43:36 +08:00
debugtalk
3c48078c22 test: update examples 2020-05-18 23:22:03 +08:00
debugtalk
9dcf54a5a6 feat: testcase config get variables by call function 2020-05-18 22:49:58 +08:00
debugtalk
7ebb1696c7 feat: testsuite config get variables by call function 2020-05-18 22:38:59 +08:00
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