Commit Graph
100 Commits
Author SHA1 Message Date
debugtalk 5a61e15595 add remove_prefix utils 2017-11-02 18:42:26 +08:00
debugtalk 3d8c4d4913 rename variable name, avoid confliction with module name 2017-11-02 16:54:27 +08:00
debugtalk eef1380502 remove unused import 2017-11-02 16:03:07 +08:00
debugtalk 48162515a6 rename variable name, avoid confliction with module name 2017-11-02 15:31:49 +08:00
debugtalk c9ed952a44 fix: run testcases by folder path 2017-11-02 15:08:59 +08:00
debugtalk 9d50b1635c rename function name, resolve conflict with unittest 2017-11-02 13:32:51 +08:00
debugtalk 6e65f5cf0c fix typo error 2017-11-02 13:10:43 +08:00
debugtalk 5fd4e28d34 fix circular reference in utils and testcase module 2017-11-02 12:45:59 +08:00
debugtalk 6f04f5008a Merge pull request #51 from firefoxwang/master
fix TypeError: can't pickle thread.lock objects
2017-11-02 12:11:30 +08:00
debugtalk d5addd7af5 add testcase file path check 2017-11-02 12:03:05 +08:00
debugtalk 70853efe46 add testcase content check 2017-11-02 11:49:43 +08:00
debugtalk 4fa652d8a0 add bind_extracted_variables: extracted value do not need to evaluate 2017-11-01 16:54:48 +08:00
debugtalk 6c5b4cf1a2 TestcaseParser: rename function name, bind_variables => update_binded_variables 2017-11-01 16:42:52 +08:00
debugtalk 993dfe4464 add extractors back, make compatible with older version 2017-11-01 14:47:33 +08:00
debugtalk 0158e98c8b rename validators to validate 2017-11-01 14:43:28 +08:00
debugtalk 9bd28653f6 rename extractor/extractors to extract 2017-11-01 14:30:36 +08:00
debugtalk bd8540622d extractor: add support to extract value from html text with regex string 2017-10-31 23:26:38 +08:00
debugtalk 19fc74d9d0 locusts: support group url 2017-10-30 20:22:14 +08:00
debugtalk 0c417e5b7d print http request kwargs when exception occured. 2017-10-30 19:24:43 +08:00
debugtalk 70d2892a56 print http response content when exception occured. 2017-10-30 17:54:04 +08:00
debugtalk d854119b14 remove unused import 2017-10-28 11:27:38 +08:00
debugtalk f5dcdaa5c5 give up support for Python 3.3 2017-10-24 17:11:20 +08:00
debugtalk fd8592eb68 rename TestcaseParser argument name: functions_binds => functions 2017-10-24 16:08:09 +08:00
debugtalk 1d0177dd09 rename TestcaseParser argument name: variables_binds => variables 2017-10-24 16:06:37 +08:00
debugtalk 388a6da23a rename keyword: variable_binds => variables 2017-10-24 15:59:09 +08:00
debugtalk 7b64b8233b rename keyword: extract_binds => extractors 2017-10-24 15:40:59 +08:00
debugtalk e743b22a93 update README 2017-10-24 15:26:07 +08:00
debugtalk b7fe227838 remove jenkins-mail-py plugin 2017-10-24 15:11:06 +08:00
debugtalk f0412a7fe0 update 2017-10-13 10:45:58 +08:00
debugtalk 93b1f01135 udpate 2017-10-13 10:44:02 +08:00
debugtalk e592b98dd9 update tests 2017-09-28 22:57:25 +08:00
debugtalk 9b0efc923e update tests 2017-09-28 14:36:13 +08:00
debugtalk f8c4b1c10a bugfix: UnboundLocalError occured when _run_testset failed 2017-09-28 14:21:54 +08:00
debugtalk 23cb033ac8 bugfix: api server update user 2017-09-28 12:02:27 +08:00
debugtalk e330aef5eb update README 2017-09-26 15:26:17 +08:00
debugtalk d8f0759c2b add testcases cache in load_testcases_by_path 2017-09-26 11:32:32 +08:00
debugtalk 86a6c92f90 create scaffold 2017-09-25 19:33:49 +08:00
debugtalk efa4a9c794 runner: rename method name 2017-09-25 15:52:52 +08:00
debugtalk f430ade7c3 runner: replace run_testsets method 2017-09-25 15:32:42 +08:00
debugtalk 3088fc94eb support run test suites set file 2017-09-24 14:09:25 +08:00
debugtalk eaf080212c load_folder_files: support passing in folder list 2017-09-22 19:14:28 +08:00
debugtalk 8d2d52b192 rename functions 2017-09-22 14:31:23 +08:00
debugtalk bcd879db99 adjust code structure 2017-09-22 11:48:29 +08:00
debugtalk 7aefc7a13b refactor api loading behavior: api should be located in /tests/api/ folder 2017-09-21 20:54:06 +08:00
debugtalk 495b8d97ab print_output defaults to debug level 2017-09-21 15:59:13 +08:00
debugtalk 0bd73238d4 fix: handle the case when variable_binds is OrderedDict or some other data structure 2017-09-20 22:14:52 +08:00
debugtalk c3582a59b6 lower_config_dict_key: add test for config['request'] is not dict 2017-09-20 21:17:20 +08:00
debugtalk f38b63d240 bugfix: keys that are not in 'request' of config shall not be lower cased 2017-09-20 21:14:14 +08:00
debugtalk 8d3a423e88 bugfix: substitute_variables_with_mapping, handle when value is None, bool, empty string 2017-09-20 19:55:25 +08:00
debugtalk 5e9be12f92 bugfix: UnicodeEncodeError in 3.4+ 2017-09-20 15:49:30 +08:00
debugtalk 4e1e72173c bugfix: UnicodeEncodeError when value is in Chinese 2017-09-20 15:01:19 +08:00
debugtalk 45ede0d5ad 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
debugtalk 28a48740c7 ate: print output after tests 2017-09-19 23:34:16 +08:00
debugtalk e0e8f2d2ec make ApiTestSuite class to hold ApiTestCase 2017-09-19 23:33:09 +08:00
debugtalk 0dad384f01 move print_output function from runner.py to utils.py 2017-09-19 23:27:38 +08:00
debugtalk a2607569bd bind_variables: variable_binds now can be ordered dict 2017-09-19 18:33:27 +08:00
debugtalk 99da071fba refactor handling binds data structure 2017-09-19 18:10:54 +08:00
debugtalk cb7bb253da make extract_response return as ordered dict 2017-09-19 18:05:12 +08:00
debugtalk 0181e61ab8 run_testset: add variables_mapping parameter 2017-09-19 17:07:07 +08:00
debugtalk 1414d27517 fix doc string 2017-09-19 16:14:55 +08:00
debugtalk 3792da8105 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
debugtalk 375d55dac2 load_testcases_by_path: add file_type parameter 2017-09-19 11:34:52 +08:00
debugtalk 48336ee56b adjust function name and variable name 2017-09-18 22:51:58 +08:00
debugtalk 4126b99862 subsititue api call args 2017-09-18 21:53:22 +08:00
debugtalk 611acf528a bugfix: adjust functions location to avoid cross reference 2017-09-18 16:01:19 +08:00
debugtalk cd20b0a8dc new feature: testcases can be layered, now we can define interface in api block individually 2017-09-18 15:21:50 +08:00
debugtalk 479f0e5860 refactor load_folder_files: change filter behavior 2017-09-18 11:45:12 +08:00
debugtalk 8f73e11f49 strip from extracted function 2017-09-14 20:54:19 +08:00
debugtalk 7d4cd5f02f bugfix: HttpNtlmAuth should be lower case 2017-09-14 10:50:11 +08:00
debugtalk 83bcc27133 lower testcase key 2017-09-13 16:17:21 +08:00
debugtalk 0e601c1865 request in config should also be parsed 2017-09-12 22:32:52 +08:00
debugtalk 2b26fe3931 refactor: adjust code location 2017-09-12 19:34:37 +08:00
debugtalk 089ffa122d bugfix: when binding variable is None, it should be None other than raise ParamsError" 2017-09-12 17:10:04 +08:00
debugtalk 80e05e6c39 search variables in debugtalk.py recursively upward 2017-09-12 17:08:39 +08:00
debugtalk c8335244de Merge branch 'master' of https://github.com/debugtalk/ApiTestEngine 2017-09-12 16:23:24 +08:00
debugtalk 35b15930a2 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
debugtalk 395ff4ad9f Merge branch 'master' of https://github.com/debugtalk/ApiTestEngine 2017-09-11 23:48:57 +08:00
debugtalk 0a867e1db9 Merge pull request #40 from vlaw/master
fix typos
2017-09-11 23:44:34 +08:00
debugtalk cbaf6b731b fix variable name 2017-09-07 16:47:04 +08:00
debugtalk cd6e742808 add setup and teardown block, in these blocks, we can exec functions such as sleep 2017-09-05 10:25:22 +08:00
debugtalk 154e050a60 bugfix: extract_binds should be list 2017-09-04 22:04:57 +08:00
debugtalk 1f44b1997d bugfix: private property should be _single_leading_underscore 2017-09-04 11:35:02 +08:00
debugtalk 082a2711e9 hot plugin support: search variables recursive upward from testset file 2017-09-04 11:22:43 +08:00
debugtalk 77047f3671 bugfix: imported module should not be considered as variable 2017-09-01 19:01:34 +08:00
debugtalk 83ee357ade search and filter module variables 2017-09-01 15:21:04 +08:00
debugtalk bf5bc00dcc update docs for debugtalk.py plugin 2017-08-31 15:01:51 +08:00
debugtalk 82db4f053c rename built-in file name 2017-08-31 14:20:42 +08:00
debugtalk ce0f1590f9 hot plugin support: search functions recursive upward from testset file 2017-08-31 12:51:39 +08:00
debugtalk 47e06b9c27 get bind functions from upward searched debugtalk.py 2017-08-31 12:46:38 +08:00
debugtalk f9aaffce0e search expected function recursive upward 2017-08-31 12:25:36 +08:00
debugtalk ad58e2915f separate get_imported_module 2017-08-31 11:06:11 +08:00
debugtalk 74c97a9ccb relocate functions 2017-08-31 10:35:05 +08:00
debugtalk 246d206afb fix doc string 2017-08-30 16:59:11 +08:00
debugtalk c16120e2aa save testcase file path in testset config 2017-08-30 16:54:55 +08:00
debugtalk bf117b671c filter if files do not include testcases 2017-08-30 12:18:32 +08:00
debugtalk 8e9e9d6c57 add match filter to load_foler_files 2017-08-30 12:15:44 +08:00
debugtalk 7f4c565fcb rename fixture module name 2017-08-29 22:12:08 +08:00
debugtalk 3d20568e8b add module doc 2017-08-29 21:50:37 +08:00
debugtalk 46dcd195d0 #36: add debugtalk.py local per-directory plugins 2017-08-29 21:33:02 +08:00
debugtalk 459f5abc6b bugfix: numeric types should include long and complex 2017-08-29 18:10:55 +08:00