Commit Graph
100 Commits
Author SHA1 Message Date
debugtalk d9370cfc09 feat: add fastapi and uvicorn, remove compatibility with 2.7/3.5 2020-02-21 19:28:27 +08:00
debugtalk e9c15e08ef Merge branch 'master' into web 2020-02-21 19:16:35 +08:00
debugtalk c665485754 Merge pull request #861 from httprunner/leo_dev
2.5.7

**Changed**

- feat: validate with python script, display print message

**Fixed**

- fix: validate script missing indents in html report
- fix: validate with python script, display lineno error
2020-02-21 19:12:39 +08:00
debugtalk 6652b2ca1d Merge branch 'master' into leo_dev 2020-02-21 18:52:47 +08:00
debugtalk 18936ce772 2.5.7: improve validate with python script 2020-02-21 18:52:01 +08:00
debugtalk 1b27925101 fix: validate with python script, display lineno error 2020-02-21 18:48:33 +08:00
debugtalk a3817ce33e fix: validate script missing indents in html report 2020-02-21 15:30:34 +08:00
debugtalk 035a709b24 init 3.0: add httprunner application 2020-02-21 15:29:20 +08:00
debugtalk ff1a148fc5 Merge pull request #856 from httprunner/leo_dev
2.5.6

**Fixed**

- fix: abort test when failed to parse all cases
- fix: log error when parse failed
2020-02-19 13:06:58 +08:00
debugtalk 6c618cadf6 Merge branch 'master' into leo_dev 2020-02-19 12:25:35 +08:00
debugtalk 70819ab241 doc: update changelog 2020-02-19 12:23:05 +08:00
debugtalk 21b4ea4ddf fix: abort test when failed to parse all cases 2020-02-19 12:00:03 +08:00
debugtalk 56c0fc7f50 fix: log error when parse failed 2020-02-19 11:41:15 +08:00
debugtalk ea7e2fe26b feat: print HttpRunner version when executing locusts 2020-02-06 16:02:43 +08:00
debugtalk a8b78e23bf change: alter HttpRunner default log_level to WARNING 2020-02-05 20:29:39 +08:00
debugtalk d158aaf88e change: save variables and export data to xx.io.json 2020-02-05 12:43:54 +08:00
debugtalk 8726acd942 Merge pull request #851 from httprunner/leo_dev
2.5.6

**Added**

- feat: save variables and export data to JSON files when specified `--save-tests`
2020-02-05 01:04:14 +08:00
debugtalk 63646dc42b fix: version 2020-02-05 00:41:50 +08:00
debugtalk b19ec9e998 feat: save variables and export data to JSON files when specified --save-tests 2020-02-05 00:33:10 +08:00
debugtalk c7895e9efe Merge pull request #850 from httprunner/leo_dev
2.5.4

**Fixed**

- fix: HTTP method missed "CONNECT", "TRACE"

**Changed**

- change: remove method validation from runner.Runner
2020-02-05 00:28:53 +08:00
debugtalk 5f787fd752 change: remove method validation from runner.Runner 2020-01-06 14:37:49 +08:00
debugtalk 8957b6c460 fix: HTTP method missed "CONNECT", "TRACE" 2020-01-06 14:27:03 +08:00
debugtalk ff086716dd Merge pull request #840 from httprunner/leo_dev
bump to version 2.5.4
2020-01-03 19:35:19 +08:00
debugtalk 5bc3f904c3 Merge branch 'master' into leo_dev 2020-01-03 19:31:32 +08:00
debugtalk 779fcecc2d Merge branch 'master' into leo_dev 2020-01-03 19:30:10 +08:00
debugtalk 4e6c2c4ea8 bump to version 2.5.4 2020-01-03 19:29:57 +08:00
debugtalk e35ab1f47b Merge pull request #839 from httprunner/leo_dev
2.5.4

**Added**

- doc: add examples in json schema

**Fixed**

- fix #835: UnicodeDecodeError when loading json schema files
- fix: RecursionError caused by checking root dir incorrectly on Windows
2020-01-03 19:08:47 +08:00
debugtalk 277214556f fix: unittest 2020-01-03 18:54:40 +08:00
debugtalk d510e5674f fix: unittest 2020-01-03 18:35:38 +08:00
debugtalk 69e9fbadcf fix: RecursionError caused by checking root dir incorrectly on Windows 2020-01-03 18:16:05 +08:00
debugtalk db4fcbb1d0 doc: add examples in json schema 2020-01-03 17:45:00 +08:00
debugtalk 4faf0be32f refactor: remove unused code 2020-01-03 16:36:18 +08:00
debugtalk 57ce9e18e5 fix #835: UnicodeDecodeError when loading json schema files 2020-01-03 16:34:12 +08:00
debugtalk 3c37921009 Merge pull request #836 from httprunner/leo_dev
2.5.3

**Fixed**

- fix json schema: variables maybe in string type, e.g. '${prepare_variables()}'
- fix json schema: post json maybe in string type, e.g. '${prepare_post_data()}', '$post_data'
2020-01-03 14:06:40 +08:00
debugtalk f1d178cde2 fix json schema: post json maybe in string type, e.g. '${prepare_post_data()}', '$post_data' 2020-01-03 11:54:31 +08:00
debugtalk bea3025997 doc: report bug with device ID 2020-01-03 11:41:24 +08:00
debugtalk 6abea9fa99 fix: jsonschema, variables maybe in string type, e.g. '${get_variables()}' 2020-01-02 23:19:06 +08:00
debugtalk 957e19e562 Merge pull request #834 from httprunner/leo_dev
2.5.2

**Fixed**

- fix #826: Windows does not support file name include ":"
- fix #819: maximum recursion error in locusts
- fix #818: request missed url in setup_hooks
- fix #808: project_working_directory is not initialized when running passed in data structure
2020-01-02 22:48:32 +08:00
debugtalk 02ee791c5b fix #808: project_working_directory is not initialized when running passed in data structure 2020-01-02 22:33:34 +08:00
debugtalk 36efdced08 fix #818: request missed url in setup_hooks 2020-01-02 21:42:49 +08:00
debugtalk 8d7ee0de9f fix #819: maximum recursion error in locusts, caused by sentry sdk 2020-01-02 21:30:34 +08:00
debugtalk f30f2de4b0 fix #826: Windows does not support file name include ':' 2020-01-02 21:15:02 +08:00
debugtalk 2d55c9eaeb Merge pull request #833 from httprunner/leo_dev
2.5.1

**Fixed**

- fix: RefResolutionError on Windows platform
2020-01-02 16:15:08 +08:00
debugtalk acd41a25d1 doc: update cli help 2020-01-02 16:06:04 +08:00
debugtalk 8192c6361e tmp: remove tests on windows 2020-01-02 16:05:48 +08:00
debugtalk 9f9261e9df tmp: run tests only on windows 2020-01-02 15:47:34 +08:00
debugtalk 3376dd8d6a test: run tests on windows 2020-01-02 15:38:35 +08:00
debugtalk fb2f071b0b update version 2020-01-02 15:31:23 +08:00
debugtalk b51b830039 fix: RefResolutionError on Windows platform 2020-01-02 15:29:37 +08:00
debugtalk 8a635ff3a5 Merge pull request #829 from httprunner/leo_dev
bump to version 2.5.0
2020-01-01 23:43:23 +08:00
debugtalk a92515309d Merge branch 'master' into leo_dev 2020-01-01 23:38:59 +08:00
debugtalk 1eba5b80f7 bump to version 2.5.0 2020-01-01 23:37:06 +08:00
debugtalk 8d87de39b5 Merge pull request #828 from httprunner/leo_dev
2.5.0

**Added**

- feat: add json schema validation for api
- feat: add json schema validation for testcase v1 & v2
- feat: add json schema validation for testsuite v1 & v2

**Changed**

- refactor: use loader.load_cases to validate test files
- refactor: use is_test_path to check if path is valid json/yaml file or a existed directory
- refactor: use is_test_content to check if data_structure is apis/testcases/testsuites
2020-01-01 23:32:58 +08:00
debugtalk a63bb7a04c doc: update changelog 2020-01-01 23:25:36 +08:00
debugtalk fdfbcc99a7 doc: update changelog 2020-01-01 23:25:03 +08:00
debugtalk e9ca45de5f refactor: is_test_content 2020-01-01 23:19:29 +08:00
debugtalk 48bde0dda8 refactor: is_test_path 2020-01-01 22:34:41 +08:00
debugtalk f74a3d7b60 feat: check if testfile path, should be json or yaml file 2020-01-01 22:17:49 +08:00
debugtalk 78fb742f3d doc: remove complete TODOs 2020-01-01 22:13:50 +08:00
debugtalk 005eafb1d1 refactor: make JsonSchemaChecker as loader module function 2020-01-01 22:02:29 +08:00
debugtalk beac58f383 refactor: check if is function 2020-01-01 22:00:48 +08:00
debugtalk 0c0964835b refactor: remove unused code 2020-01-01 21:56:07 +08:00
debugtalk c958aacc10 refactor: implement public method JsonSchemaChecker.validate_format 2020-01-01 21:54:58 +08:00
debugtalk b3e07e9bdc feat: add json schema validation for testsutie v1 2020-01-01 21:50:00 +08:00
debugtalk e3842ff62d feat: add json schema validation for testcase v1 2020-01-01 10:37:16 +08:00
debugtalk ca2ba78268 fix: compatibility for Python 2.7 2020-01-01 09:51:43 +08:00
debugtalk 9ccb62b42e fix: update comparator schema 2020-01-01 09:42:47 +08:00
debugtalk 9dbf194e58 fix: json schema validation for testcase v2 2020-01-01 09:35:50 +08:00
debugtalk a04295b061 feat: add comparator in validate schema 2019-12-31 21:51:05 +08:00
debugtalk db26e7ac19 fix: json schema validation for testcase v2 2019-12-31 19:18:47 +08:00
debugtalk 6b34cb16ab change: add json schema validation for testsuite v2 2019-12-31 19:11:21 +08:00
debugtalk 7801ba6558 refactor: rename to JsonSchemaChecker 2019-12-31 19:09:35 +08:00
debugtalk 4417b98293 refactor: rename to JsonSchemaTestcaseChecker 2019-12-31 19:03:34 +08:00
debugtalk 50ef9c12a5 refactor: rename to JsonSchemaCommonChecker 2019-12-31 18:59:46 +08:00
debugtalk 16884093e9 feat: add json schema validation for testsuite 2019-12-31 18:57:20 +08:00
debugtalk b5d72e27c1 change: add verify in config json schema 2019-12-31 18:32:04 +08:00
debugtalk a5667de5e7 feat: add json schema validation for testcase v2 2019-12-31 18:27:58 +08:00
debugtalk b457eb0fcc doc: update changelog 2019-12-31 17:50:15 +08:00
debugtalk 0d5d3cacfb fix: unittest for jsonschema checker 2019-12-31 17:49:15 +08:00
debugtalk d62dbd23b0 refactor: rename to JsonSchemaChecker 2019-12-31 17:36:58 +08:00
debugtalk f233e126b9 feat: add json schema validation for api 2019-12-31 17:31:33 +08:00
debugtalk e77f2bb189 change: update json schemas v2 2019-12-31 10:49:18 +08:00
debugtalk 6e5b48c88d refactor: use loader.load_cases to validate test files 2019-12-30 21:51:30 +08:00
debugtalk e107b0a927 change: function name, validate_json_file => validate_test_file 2019-12-30 20:26:16 +08:00
debugtalk 95448357aa Merge pull request #823 from httprunner/leo_dev
2.4.9

**Added**

- test: add unittest for cli

**Changed**

- change: html report name defaults to be in UTC ISO 8601 format

**Fixed**

- fix: display validators in report when validate raised exception
- fix: eval validator python script before validating
- fix: do not strip string content when preparing lazy data
- fix: catch ApiNotFound exception when loading testcases
- fix: print exception string with exception stage
2019-12-30 11:09:14 +08:00
debugtalk b1a9c0d3cf change: html report name defaults to be in UTC ISO 8601 format 2019-12-29 18:48:06 +08:00
debugtalk ba4b754290 fix: print exception string with exception stage 2019-12-29 16:23:46 +08:00
debugtalk 66d6b9fbac fix: catch ApiNotFound exception when loading testcases 2019-12-29 16:21:23 +08:00
debugtalk ba02a0e412 Merge branch 'master' into leo_dev 2019-12-26 21:58:17 +08:00
debugtalk 8683f7e3ae Merge pull request #817 from readyou/dev
Add json schema
2019-12-26 21:54:55 +08:00
debugtalk 040111a627 Merge pull request #814 from liugangabc/dev_ag
fix: 批量执行多个测试用例,当执行时间小于1秒报告会被覆盖
2019-12-26 21:54:42 +08:00
debugtalk aa5689305b fix: do not strip string content when preparing lazy data 2019-12-26 15:41:25 +08:00
debugtalk 8a8d9e53c3 fix: eval validator python script before validating 2019-12-26 14:34:04 +08:00
debugtalk e5bc23e4cf fix: display validators in report when validate raised exception 2019-12-25 23:21:10 +08:00
debugtalk 891d81ddbf fix: compatibility for Python 2.7 2019-12-25 22:50:40 +08:00
debugtalk afccf1e5f8 test: Reset redirect in teardown 2019-12-25 22:36:17 +08:00
debugtalk 3caba271b0 test: add cli test 2019-12-25 22:33:13 +08:00
debugtalk 1674cd1c12 Merge pull request #810 from httprunner/leo_dev
test: update test name
2019-12-25 11:55:56 +08:00
debugtalk cc7ccbdfbb Merge branch 'master' into leo_dev 2019-12-25 11:47:25 +08:00
debugtalk 29482b46be test: update test name 2019-12-25 11:46:26 +08:00