httprunner
2bb84b3874
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
httprunner
017e6dc0ec
fix Python version compability
2018-05-03 16:04:58 +08:00
httprunner
7e263a0cbc
refactor testcase layer
2018-05-02 16:29:35 +08:00
httprunner
d8ae4c0660
group file functions to utils.FileUtils
2018-04-29 13:30:25 +08:00
httprunner
48d1790695
fix unittest
2018-04-24 20:54:59 +08:00
httprunner
e263021c3b
merge_validator: support checking unhashable values such as dict
2018-04-23 21:28:59 +08:00
httprunner
5dfdd6ad93
refactor function name: load_testcases_by_path => load_testsets_by_path
2018-04-17 21:42:48 +08:00
httprunner
a92f382571
call HttpRunner class with testsets data structure other than path
2018-04-17 21:41:02 +08:00
httprunner
5219f7800f
fix #131 : parameter data driven with pair keys
2018-03-27 22:39:43 +08:00
httprunner
96fc410234
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
httprunner
151acd19be
refactor names: simplify functions
2018-02-16 01:41:16 +08:00
httprunner
f8569aad91
new feature: support parameters and data driven
2018-02-15 22:53:56 +08:00
httprunner
1db17cbd47
rename function
2018-02-14 22:05:11 +08:00
httprunner
85a76a12d2
#78 : merge extractors in test with api extractors
2018-01-16 20:36:27 +08:00
httprunner
488585fdc5
#78 : merge validators in test with api validators
2018-01-16 19:28:07 +08:00
httprunner
e8db476867
rename package name from ate to httprunner
2017-11-07 11:01:23 +08:00
httprunner
4067328bf3
rename function name, resolve conflict with unittest
2017-11-02 13:32:51 +08:00
httprunner
5b0d28b8c6
fix circular reference in utils and testcase module
2017-11-02 12:45:59 +08:00
httprunner
49797c51fd
rename validators to validate
2017-11-01 14:43:28 +08:00
httprunner
9908718963
rename TestcaseParser argument name: functions_binds => functions
2017-10-24 16:08:09 +08:00
httprunner
9e17282f3b
rename TestcaseParser argument name: variables_binds => variables
2017-10-24 16:06:37 +08:00
httprunner
fa82c26e9f
rename keyword: variable_binds => variables
2017-10-24 15:59:09 +08:00
httprunner
8fb3e0b73a
support run test suites set file
2017-09-24 14:09:25 +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
dc673a0d19
bugfix: substitute_variables_with_mapping, handle when value is None, bool, empty string
2017-09-20 19:55:25 +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
62fbe7759f
strip from extracted function
2017-09-14 20:54:19 +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
luowentao
2b95289bea
refactor: fix typos
2017-09-11 20:44:57 +08:00
httprunner
6c39b07b0f
get bind functions from upward searched debugtalk.py
2017-08-31 12:46:38 +08:00
httprunner
20677b8731
refactor ate/testcase.py: organise code with TestcaseParser, reduce passing parameters
2017-08-25 21:10:34 +08:00
httprunner
fdb08e978d
fix #33 : invoke functions in url
2017-08-25 20:08:58 +08:00
httprunner
5485b5a532
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
httprunner
bfc18b38a3
bugfix: when a variable binds to None, it should not raise exception
2017-08-03 12:02:37 +08:00
diaojunxian
249cf0dc9b
fix bug|>update parse_variables and add testcase test_parse_variables_multiple_identical_variables
2017-08-03 11:10:36 +08:00
httprunner
0c2f48a6fe
simplify tests
2017-07-31 22:57:00 +08:00
httprunner
5267d4f5e5
restructure code: move code related to testcase from ate/utils.py to ate/testcase.py
2017-07-31 22:51:28 +08:00
httprunner
533ff9198a
bugfix #9 : handle string content with multiple identical variables.
2017-07-31 22:26:09 +08:00
httprunner
95649800e1
rename test folder to tests
2017-07-20 11:18:09 +08:00