Commit Graph

13 Commits

Author SHA1 Message Date
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
5829e8d21b call function anywhere in testcase 2017-08-01 11:33:31 +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
233978007e bugfix: when the bind value of variable is not in string type, it should be converted to string first, or it will raise TypeError in replace function 2017-07-31 21:04:19 +08:00
httprunner
46fe02a6cd #9: add unittest for string with multiple identical variables 2017-07-31 16:01:14 +08:00
httprunner
c3856f7599 bugfix #9: handle string content with multiple variables. 2017-07-30 16:18:11 +08:00
httprunner
0674d6ab33 update demo testset: change position of variable binds 2017-07-23 11:29:48 +08:00
httprunner
16307e2ebe refactor mock server:
1, remove authentication switcher;
2, change authentication method: from verify request data's md5 to get token at the beginning.
2017-07-22 15:15:05 +08:00
httprunner
68a00bcc0d change context variable name 2017-07-21 09:26:33 +08:00
httprunner
4849a25ea2 refactor variable context:
1, variable context has two level, testset and testcase;
2, testset level variables can be used in whole test suite, while testcase level variables can only be used in testcase;
3, when variable binds with functions, the funtions will be called and the result will be set to the variable.
2017-07-20 22:43:18 +08:00
httprunner
95649800e1 rename test folder to tests 2017-07-20 11:18:09 +08:00