debugtalk
f41729094a
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
debugtalk
a5bb50e32d
bugfix: variable name and function name could have _
2017-07-20 12:24:44 +08:00
debugtalk
31c73d036e
rename test folder to tests
2017-07-20 11:18:09 +08:00
debugtalk
6ef716b9fe
add FAQ for installing
2017-07-20 11:08:59 +08:00
debugtalk
72485d9bcb
remove testcases folder
2017-07-20 10:49:58 +08:00
debugtalk
9e154cea97
make custom module importable anywhere
2017-07-20 10:32:58 +08:00
debugtalk
2179092ea7
change method to specify testset path
2017-07-19 23:29:29 +08:00
debugtalk
8b27fd21f5
add command argument: show version
2017-07-19 21:24:37 +08:00
debugtalk
a4b1be79a6
:
2017-07-19 19:18:02 +08:00
debugtalk
4c1f0d9965
add setup
2017-07-19 19:10:11 +08:00
debugtalk
c563237ca3
change with PyUnitReport
2017-07-19 19:06:02 +08:00
debugtalk
ef769ca668
split ate/main.py to ate/cli.py and ate/task.py
2017-07-19 15:49:15 +08:00
debugtalk
3a6955ef0a
update README
2017-07-18 12:24:51 +08:00
debugtalk
093bf31864
add report_name argument to specify report name, if not specified, use current time as default
2017-07-17 18:36:23 +08:00
debugtalk
408e9b9038
change HtmlTestRunner to PyUnitReport
2017-07-14 18:22:03 +08:00
debugtalk
b4836a807a
set testcase filename as output folder name
2017-07-14 17:34:05 +08:00
debugtalk
8a001ad141
Merge branch 'master' of https://github.com/debugtalk/ApiTestEngine
2017-07-14 15:42:40 +08:00
debugtalk
c87a2f52af
bugfix: make compatible with None field in testcase
2017-07-14 15:41:44 +08:00
debugtalk
658920f8b2
add custom functions: gen_urlencode_str, get_timestamp
2017-07-14 15:16:47 +08:00
debugtalk
38d80380f7
Merge pull request #6 from debugtalk/test-report
...
generate html test report with HtmlTestRunner
2017-07-14 12:49:46 +08:00
debugtalk
a5364843d6
generate html test report with HtmlTestRunner
2017-07-14 12:44:44 +08:00
debugtalk
ed8d765f44
update README
2017-07-11 17:24:10 +08:00
debugtalk
d6afe73f9c
update README
2017-07-10 12:26:10 +08:00
debugtalk
8e3aa461aa
optimize Runner initialization
2017-07-07 14:49:17 +08:00
debugtalk
b7659b2ad4
add match method: startswith
2017-07-05 15:14:10 +08:00
debugtalk
7fbacea3c2
bugfix: update testset request config with testcase request config recursively
2017-07-04 18:29:24 +08:00
debugtalk
37d3034e0d
deep_update_dict: update origin dict with override dict recursively
2017-07-04 18:28:08 +08:00
debugtalk
da191032b1
bugfix: initialize context before each test
2017-07-04 17:37:47 +08:00
debugtalk
d881b8e632
bugfix: correct kwargs key name
2017-07-04 17:05:17 +08:00
debugtalk
29b660b3db
change variable marker and function marker:
...
1, variable marker: ${var} => $var;
2, function marker: {'func': 'gen_random_string', 'args': [5]} => ${gen_random_string(5).
2017-07-04 16:45:18 +08:00
debugtalk
9d68340eaa
parse functions: add support for variable argument
2017-07-04 15:17:45 +08:00
debugtalk
b63e5cf41d
add helpers to parse variable and functions
2017-07-04 14:45:03 +08:00
debugtalk
3c7a930cdc
fix testcase name
2017-07-03 23:50:01 +08:00
debugtalk
a409beb548
specify logging level from CLI
2017-07-03 16:40:59 +08:00
debugtalk
f833fe9143
set base_url in testset config.request
2017-07-03 16:33:44 +08:00
debugtalk
6887bb7c08
change class name, TestRunner -> Runner
2017-07-03 16:03:37 +08:00
debugtalk
f6477fd6be
change method name
2017-07-03 16:02:16 +08:00
debugtalk
e46c376674
HttpSession can be called with full url or with only path
2017-07-03 12:48:18 +08:00
debugtalk
f32578bbb8
move HttpNtlmAuth from runner to client
2017-07-03 12:13:56 +08:00
debugtalk
ba64e82947
create HttpSession as wrapper of requests.Session, in order to log more information of request and response
2017-07-03 12:07:40 +08:00
debugtalk
07cb8d1d55
add test for get_eval_value
2017-07-01 22:31:49 +08:00
debugtalk
ac5f81cacf
add test for get_parsed_request
2017-07-01 22:08:00 +08:00
debugtalk
d4493a8283
add test for import_module_functions
2017-07-01 21:54:14 +08:00
debugtalk
dc7a4b69bc
refactor context:
...
1, testset and testcase are in different context level;
2, testset context will be initialized when a file is loaded, and testcase level context initializes when each testcase starts;
3, testcase context should inherit from testset context configs, and the testcase context has high priority.
2017-07-01 21:44:04 +08:00
debugtalk
da445df78b
add HttpNtlmAuth
2017-06-30 19:56:19 +08:00
debugtalk
31a98501ca
match_expected comparator: add len_gt, len_lt, len_ge, len_le, etc.
2017-06-30 17:04:20 +08:00
debugtalk
1efb0a497b
bugfix: length equal
2017-06-30 16:57:56 +08:00
debugtalk
20f2e6b943
add support for import module custom functions
2017-06-30 13:24:00 +08:00
debugtalk
7de283233e
api_server: return JSON format if 403 occurred
2017-06-30 12:01:17 +08:00
debugtalk
c3ce0c53fd
we can set public filed in testset.config, and each testcase can inherit from it
2017-06-29 19:20:57 +08:00