Commit Graph

290 Commits

Author SHA1 Message Date
httprunner
890bc2035c update tests 2017-09-28 22:57:25 +08:00
httprunner
4a36781b65 bugfix: UnboundLocalError occured when _run_testset failed 2017-09-28 14:21:54 +08:00
httprunner
1c548542d1 bugfix: api server update user 2017-09-28 12:02:27 +08:00
httprunner
702a60bb84 update README 2017-09-26 15:26:17 +08:00
httprunner
675ffc63fe add testcases cache in load_testcases_by_path 2017-09-26 11:32:32 +08:00
httprunner
c7df184af2 create scaffold 2017-09-25 19:33:49 +08:00
httprunner
102af87e61 runner: rename method name 2017-09-25 15:52:52 +08:00
httprunner
94b6202d2d runner: replace run_testsets method 2017-09-25 15:32:42 +08:00
httprunner
8fb3e0b73a support run test suites set file 2017-09-24 14:09:25 +08:00
httprunner
2513886863 load_folder_files: support passing in folder list 2017-09-22 19:14:28 +08:00
httprunner
103dc8d724 rename functions 2017-09-22 14:31:23 +08:00
httprunner
834600bb41 adjust code structure 2017-09-22 11:48:29 +08:00
httprunner
6ef46224f6 refactor api loading behavior: api should be located in /tests/api/ folder 2017-09-21 20:54:06 +08:00
httprunner
54286500ee print_output defaults to debug level 2017-09-21 15:59:13 +08:00
httprunner
0ac4ed4bc8 fix: handle the case when variable_binds is OrderedDict or some other data structure 2017-09-20 22:14:52 +08:00
httprunner
ffed8c38a2 lower_config_dict_key: add test for config['request'] is not dict 2017-09-20 21:17:20 +08:00
httprunner
cf6c7e1a76 bugfix: keys that are not in 'request' of config shall not be lower cased 2017-09-20 21:14:14 +08:00
httprunner
dc673a0d19 bugfix: substitute_variables_with_mapping, handle when value is None, bool, empty string 2017-09-20 19:55:25 +08:00
httprunner
c212c0853c bugfix: UnicodeEncodeError in 3.4+ 2017-09-20 15:49:30 +08:00
httprunner
07daa2b781 bugfix: UnicodeEncodeError when value is in Chinese 2017-09-20 15:01:19 +08:00
httprunner
5ee65776a0 bugfix: once task_suite been executed, task in task_suite will be None, and can not call print_output function 2017-09-20 14:57:03 +08:00
httprunner
960213a7bd ate: print output after tests 2017-09-19 23:34:16 +08:00
httprunner
b679a1514d make ApiTestSuite class to hold ApiTestCase 2017-09-19 23:33:09 +08:00
httprunner
9161e48844 move print_output function from runner.py to utils.py 2017-09-19 23:27:38 +08:00
httprunner
ccce1357c4 bind_variables: variable_binds now can be ordered dict 2017-09-19 18:33:27 +08:00
httprunner
6085dd407d refactor handling binds data structure 2017-09-19 18:10:54 +08:00
httprunner
c53ff6992b make extract_response return as ordered dict 2017-09-19 18:05:12 +08:00
httprunner
041152c00f run_testset: add variables_mapping parameter 2017-09-19 17:07:07 +08:00
httprunner
1b847d562d fix doc string 2017-09-19 16:14:55 +08:00
httprunner
4197ed26ca add output:
1, change return value of running testset;
2, print extracted variables at the end of testset.
2017-09-19 15:24:11 +08:00
httprunner
6b3da70e06 load_testcases_by_path: add file_type parameter 2017-09-19 11:34:52 +08:00
httprunner
f19bfad128 adjust function name and variable name 2017-09-18 22:51:58 +08:00
httprunner
1262d92816 subsititue api call args 2017-09-18 21:53:22 +08:00
httprunner
8c05afaed5 bugfix: adjust functions location to avoid cross reference 2017-09-18 16:01:19 +08:00
httprunner
cb2555291c new feature: testcases can be layered, now we can define interface in api block individually 2017-09-18 15:21:50 +08:00
httprunner
999625635d refactor load_folder_files: change filter behavior 2017-09-18 11:45:12 +08:00
httprunner
62fbe7759f strip from extracted function 2017-09-14 20:54:19 +08:00
httprunner
f3c6617385 bugfix: HttpNtlmAuth should be lower case 2017-09-14 10:50:11 +08:00
httprunner
93d4a78210 lower testcase key 2017-09-13 16:17:21 +08:00
httprunner
8d568d9e0d request in config should also be parsed 2017-09-12 22:32:52 +08:00
httprunner
5e89c279cd refactor: adjust code location 2017-09-12 19:34:37 +08:00
httprunner
09d58818e7 bugfix: when binding variable is None, it should be None other than raise ParamsError" 2017-09-12 17:10:04 +08:00
httprunner
78b1dec782 search variables in debugtalk.py recursively upward 2017-09-12 17:08:39 +08:00
httprunner
1818085895 Merge branch 'master' of https://github.com/debugtalk/ApiTestEngine 2017-09-12 16:23:24 +08:00
httprunner
27d8622d24 Merge pull request #41 from vlaw/fix_abs_path
fix: Absolute file path in *Nix system start with slash. The heading …
2017-09-12 16:19:27 +08:00
luowentao
701baee3b6 fix: Absolute file path in *Nix system start with slash. The heading slash should not be striped in this case. 2017-09-12 15:18:51 +08:00
httprunner
24e47f5762 Merge branch 'master' of https://github.com/debugtalk/ApiTestEngine 2017-09-11 23:48:57 +08:00
httprunner
506017faf0 Merge pull request #40 from vlaw/master
fix typos
2017-09-11 23:44:34 +08:00
luowentao
2b95289bea refactor: fix typos 2017-09-11 20:44:57 +08:00
httprunner
e226724d74 fix variable name 2017-09-07 16:47:04 +08:00