Commit Graph

19 Commits

Author SHA1 Message Date
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