debugtalk
3936b82a52
#96 : skip unless condition
2018-02-08 22:36:30 +08:00
debugtalk
c504f305f1
#96 : refactor skip feature:
...
1, with skip keyword, skip current test unconditionally;
2, with skipIf keyword, you can skip current test with condition; condition evaluation can be defined in debugtalk.py function.
2018-02-08 15:59:17 +08:00
debugtalk
177856c37c
bugfix #96 skip feature: display skip testcases number corretly
2018-02-08 12:55:23 +08:00
debugtalk
4fbc414e87
refactor run times: display test statistics correctly with run times setting
2018-02-08 12:24:53 +08:00
debugtalk
c40a208024
fix #84 : type_match invalid
2018-01-17 12:49:02 +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
921edae7d3
fix #64 : when headers in test is None, it should inherit from config
2017-12-23 12:41:00 +08:00
debugtalk
f522fd11aa
update tests for custom validator
2017-12-13 16:29:42 +08:00
debugtalk
3f3b0f1ea7
#52 : validator expect field support reference variable
2017-12-13 01:22:43 +08:00
debugtalk
cd89157fa6
validator: check item support reference variable
2017-12-13 01:12:57 +08:00
debugtalk
d079f014d9
#29 : refactor validator:
...
1, relocate validate functions;
2, add unittest for custom defined validators.
2017-12-12 23:59:54 +08:00
debugtalk
eae9a85647
#29 : refactor validator, now support custom defined validators
2017-12-12 20:06:54 +08:00
debugtalk
be6502cd63
support new validator format, e.g. {'eq': ['status_code', 200]}
2017-12-12 12:08:55 +08:00
debugtalk
f9e9f75f05
bugfix #53 : ensure teardown functions executed when test fail
2017-11-13 22:53:35 +08:00
debugtalk
3af67a31cc
validate: set expect as alias for expected
2017-11-13 20:56:46 +08:00
debugtalk
eec69275f3
rename package name from ate to httprunner
2017-11-07 11:01:23 +08:00
debugtalk
36e7c7e4cf
update lower_dict_keys, avoid mistakes in OrderDict
2017-11-03 12:55:23 +08:00
debugtalk
5a61e15595
add remove_prefix utils
2017-11-02 18:42:26 +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
6f04f5008a
Merge pull request #51 from firefoxwang/master
...
fix TypeError: can't pickle thread.lock objects
2017-11-02 12:11:30 +08:00
debugtalk
70853efe46
add testcase content check
2017-11-02 11:49:43 +08:00
firefoxwang
249cff7ff8
bugfix:Presentation file(base.py) multiprocessing problem fixed
2017-11-01 20:25:40 +08:00
firefoxwang
bdf5da44ab
Merge pull request #3 from debugtalk/master
...
lastest pull from debugtalk
2017-11-01 20:14:38 +08:00
debugtalk
0158e98c8b
rename validators to validate
2017-11-01 14:43:28 +08:00
debugtalk
9bd28653f6
rename extractor/extractors to extract
2017-11-01 14:30:36 +08:00
debugtalk
bd8540622d
extractor: add support to extract value from html text with regex string
2017-10-31 23:26:38 +08:00
firefoxwang
4d28e2fc86
Merge pull request #2 from debugtalk/master
...
pull debugtalk
2017-10-25 22:41:46 -05: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
7b64b8233b
rename keyword: extract_binds => extractors
2017-10-24 15:40:59 +08:00
firefoxwang
52fa69cc5a
修复线程报错bug
2017-10-24 15:16:18 +08:00
debugtalk
e592b98dd9
update tests
2017-09-28 22:57:25 +08:00
debugtalk
9b0efc923e
update tests
2017-09-28 14:36:13 +08:00
debugtalk
23cb033ac8
bugfix: api server update user
2017-09-28 12:02:27 +08:00
debugtalk
86a6c92f90
create scaffold
2017-09-25 19:33:49 +08:00
debugtalk
efa4a9c794
runner: rename method name
2017-09-25 15:52:52 +08:00
debugtalk
f430ade7c3
runner: replace run_testsets method
2017-09-25 15:32:42 +08:00
debugtalk
3088fc94eb
support run test suites set file
2017-09-24 14:09:25 +08:00
debugtalk
eaf080212c
load_folder_files: support passing in folder list
2017-09-22 19:14:28 +08:00
debugtalk
8d2d52b192
rename functions
2017-09-22 14:31:23 +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
0bd73238d4
fix: handle the case when variable_binds is OrderedDict or some other data structure
2017-09-20 22:14:52 +08:00
debugtalk
c3582a59b6
lower_config_dict_key: add test for config['request'] is not dict
2017-09-20 21:17:20 +08:00
debugtalk
f38b63d240
bugfix: keys that are not in 'request' of config shall not be lower cased
2017-09-20 21:14:14 +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
4e1e72173c
bugfix: UnicodeEncodeError when value is in Chinese
2017-09-20 15:01:19 +08:00