Commit Graph

50 Commits

Author SHA1 Message Date
debugtalk
df75b6df85 relocate testcase validator 2018-08-05 11:07:57 +08:00
debugtalk
adb00d5558 relocalte extract_variables 2018-07-30 00:27:01 +08:00
debugtalk
e32e89c379 relocate test suite loader 2018-07-30 00:11:04 +08:00
debugtalk
4a87af51e7 rename excpetion module to exceptions 2018-07-25 10:52:16 +08:00
debugtalk
7478331cb5 group exceptions to 2 types: failure and error 2018-07-25 10:40:20 +08:00
debugtalk
95db6f22dd refactor report: split test suite to separate tables 2018-07-19 15:15:09 +08:00
debugtalk
faa49ad74d add tests for loading api with hooks 2018-06-10 23:24:30 +08:00
debugtalk
50dfd40705 fix #260: auto remove space in function args 2018-06-02 22:32:07 +08:00
debugtalk
dcc1e70181 refactor hook mechanism:
1, remove EventHook;
2, setup_hooks: could reference request dict;
3, teardown_hooks: could reference Response object.
2018-05-10 13:40:47 +08:00
debugtalk
37a6615791 fix Python version compability 2018-05-03 16:04:58 +08:00
debugtalk
4b9cc0a9bd refactor testcase layer 2018-05-02 16:29:35 +08:00
debugtalk
915294ebd3 group file functions to utils.FileUtils 2018-04-29 13:30:25 +08:00
debugtalk
84e45dcc47 fix unittest 2018-04-24 20:54:59 +08:00
debugtalk
bfb9b1e3e1 merge_validator: support checking unhashable values such as dict 2018-04-23 21:28:59 +08:00
debugtalk
de14f2877b refactor function name: load_testcases_by_path => load_testsets_by_path 2018-04-17 21:42:48 +08:00
debugtalk
37d9ea211f call HttpRunner class with testsets data structure other than path 2018-04-17 21:41:02 +08:00
debugtalk
2081a34b57 fix #131: parameter data driven with pair keys 2018-03-27 22:39:43 +08:00
debugtalk
f53baaf757 refactor parameterization:
parameter value now can be in three types:
(1) data list
(2) call built-in parameterize function
(3) call custom function in debugtalk.py
2018-03-07 16:21:51 +08:00
debugtalk
ec77183aa1 refactor names: simplify functions 2018-02-16 01:41:16 +08:00
debugtalk
56cf359810 new feature: support parameters and data driven 2018-02-15 22:53:56 +08:00
debugtalk
2f83777d9a rename function 2018-02-14 22:05:11 +08:00
debugtalk
f1a5eb56c0 #78: merge extractors in test with api extractors 2018-01-16 20:36:27 +08:00
debugtalk
124cbe8102 #78: merge validators in test with api validators 2018-01-16 19:28:07 +08:00
debugtalk
eec69275f3 rename package name from ate to httprunner 2017-11-07 11:01:23 +08:00
debugtalk
9d50b1635c rename function name, resolve conflict with unittest 2017-11-02 13:32:51 +08:00
debugtalk
5fd4e28d34 fix circular reference in utils and testcase module 2017-11-02 12:45:59 +08:00
debugtalk
0158e98c8b rename validators to validate 2017-11-01 14:43:28 +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
3088fc94eb support run test suites set file 2017-09-24 14:09:25 +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
8d3a423e88 bugfix: substitute_variables_with_mapping, handle when value is None, bool, empty string 2017-09-20 19:55:25 +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
8f73e11f49 strip from extracted function 2017-09-14 20:54:19 +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
luowentao
7bffdda3aa refactor: fix typos 2017-09-11 20:44:57 +08:00
debugtalk
47e06b9c27 get bind functions from upward searched debugtalk.py 2017-08-31 12:46:38 +08:00
debugtalk
4722c6ec86 refactor ate/testcase.py: organise code with TestcaseParser, reduce passing parameters 2017-08-25 21:10:34 +08:00
debugtalk
e6dcbd95fb fix #33: invoke functions in url 2017-08-25 20:08:58 +08:00
debugtalk
58c573cf65 Merge pull request #14 from diaojunxian/master
bugfix: add maxreplace=1 to avoid similar variables are replaced by mistaken.
For instance, if user=1000, then "/$user/$userid" will be replaced to be "/1000/1000id".
2017-08-03 13:34:29 +08:00
debugtalk
02dc813779 bugfix: when a variable binds to None, it should not raise exception 2017-08-03 12:02:37 +08:00
diaojunxian
e49ebb7e9a fix bug|>update parse_variables and add testcase test_parse_variables_multiple_identical_variables 2017-08-03 11:10:36 +08:00
debugtalk
5f6181f156 simplify tests 2017-07-31 22:57:00 +08:00
debugtalk
6cc2fde85d restructure code: move code related to testcase from ate/utils.py to ate/testcase.py 2017-07-31 22:51:28 +08:00
debugtalk
94f3bfc00b bugfix #9: handle string content with multiple identical variables. 2017-07-31 22:26:09 +08:00
debugtalk
31c73d036e rename test folder to tests 2017-07-20 11:18:09 +08:00