Commit Graph

53 Commits

Author SHA1 Message Date
debugtalk
a16d3fcd6a ignore .coverage 2017-06-26 22:12:50 +08:00
debugtalk
67838aae86 update coverage 2017-06-26 22:06:15 +08:00
debugtalk
93822fa11f coverage: replace codecov with coveralls 2017-06-26 21:47:57 +08:00
debugtalk
a7e0c69f8e add codecov 2017-06-26 21:16:26 +08:00
debugtalk
b5a61c8195 load_testcases_by_path: return testcase sets list, each testset is corresponding to a file 2017-06-26 20:57:22 +08:00
debugtalk
e269ce6671 load_testcases_by_path 2017-06-26 19:46:23 +08:00
debugtalk
8facc2d498 remove unused import 2017-06-26 16:22:39 +08:00
debugtalk
0e08f33667 TestRunner: testsets can be configured in public config 2017-06-26 15:47:45 +08:00
debugtalk
df6960a805 change testcase data structure, in order to distinguish config and test 2017-06-26 15:27:27 +08:00
debugtalk
298391324d TestcaseParser: add update_variables_binds 2017-06-26 14:43:06 +08:00
debugtalk
668e17d45a TestRunner: change method name 2017-06-26 11:58:07 +08:00
debugtalk
56c2f0decf TestRunner: run testcase writen in separate template 2017-06-26 11:51:08 +08:00
debugtalk
ea1291e6a9 TestcaseParser: variable binds of testcase parser instance cat be updated. 2017-06-26 10:55:17 +08:00
debugtalk
75d06aecca Context: Manages binding of variables 2017-06-26 00:57:58 +08:00
debugtalk
4d9ca255cd TestcaseParser: parse testcase_template, replace all variables with bind value. 2017-06-25 23:33:49 +08:00
debugtalk
b0c188ce51 change demo testcase file name 2017-06-25 20:29:59 +08:00
debugtalk
52bc344f66 gen_md5: pass in *args 2017-06-24 19:44:40 +08:00
debugtalk
4ac2462881 add testcases for TestRunner, with authentication enabled 2017-06-24 16:29:55 +08:00
debugtalk
088b118a92 change testcase name 2017-06-24 12:25:41 +08:00
debugtalk
b90dabf151 bugfix: In Python3, convert request.data(bytes) to str first 2017-06-24 12:13:27 +08:00
debugtalk
db68c394e8 handle_req_data: sort data with keys if request data is json type 2017-06-24 11:19:20 +08:00
debugtalk
d5e02d3319 use utils.gen_md5 function to generate md5 value 2017-06-23 14:43:04 +08:00
debugtalk
ee564ddacf update README 2017-06-22 23:31:56 +08:00
debugtalk
4267e369c5 improve exception notification 2017-06-22 23:14:33 +08:00
debugtalk
3fd53b4448 move public functions to utils.py 2017-06-22 23:08:01 +08:00
debugtalk
1e6e6ad81b ApiServer: add testcases for MD5 authentication 2017-06-22 19:51:50 +08:00
debugtalk
3b92859be3 ApiServer: add support MD5 authentication 2017-06-22 18:37:48 +08:00
debugtalk
b89c941236 TestRunner: add testcase suite writen in YAML 2017-06-21 19:17:29 +08:00
debugtalk
fc7ded4046 TestRunner: run testcase suite 2017-06-21 18:43:15 +08:00
debugtalk
1965a7ddce TestRunner: run single testcase 2017-06-21 18:26:02 +08:00
debugtalk
22a9ca6289 diff http response: body 2017-06-21 17:20:50 +08:00
debugtalk
7043893b44 change varaible name: response content => response body 2017-06-21 16:03:12 +08:00
debugtalk
53989f826e diff http response: headers 2017-06-21 15:56:01 +08:00
debugtalk
1f5ff5502c apiserver: get_customized_response, including status code and headers 2017-06-21 13:39:08 +08:00
debugtalk
4a025164a6 apiserver: add get_response_with_headers 2017-06-21 13:19:31 +08:00
debugtalk
8479a82983 diff http response: status code 2017-06-21 12:17:51 +08:00
debugtalk
c21646a01f apiserver: add get_response_with_status_code 2017-06-21 11:43:21 +08:00
debugtalk
369d4a9d47 bugfix: make compatible with python 2.7/3.3/3.4 2017-06-20 21:04:00 +08:00
debugtalk
05968afb29 bugfix: add PyYAML to requirements.txt 2017-06-20 20:52:28 +08:00
debugtalk
0cd7cfa72b remove tox 2017-06-20 20:49:04 +08:00
debugtalk
7d663d7447 add tox.ini 2017-06-20 20:42:25 +08:00
debugtalk
f02a5e007e add travis badge 2017-06-20 20:37:21 +08:00
debugtalk
4d69342d40 parse_response_object: load response content as json format if possible 2017-06-20 20:24:38 +08:00
debugtalk
278aaff290 add parse_response_object 2017-06-20 20:06:36 +08:00
debugtalk
898e0f27fa create ApiServerUnittest for public use 2017-06-20 20:04:10 +08:00
debugtalk
a62d3dd583 add requirements.txt 2017-06-20 19:48:55 +08:00
debugtalk
45351e3ba7 utils: testcases loader 2017-06-20 19:43:44 +08:00
debugtalk
f06adb064d move api_server start and terminate to class method in order to start api_server only once 2017-06-20 14:22:52 +08:00
debugtalk
bb199bd42e run api_server in multiprocessing.Thread other than gevent.pywsgi.WSGIServer 2017-06-20 13:25:59 +08:00
debugtalk
b775e8c217 update api_server and its tests 2017-06-19 16:19:17 +08:00