Commits

Grigoriy Petukhov committed a52392b

Refactor runtest.py

Comments (0)

Files changed (1)

 from grab.tools.watch import watch
 from test.tornado_util import start_server, stop_server
 
+# **********
+# Grab Tests
+# * pycurl transport
+# * extensions
+# * tools
+# **********
 GRAB_TEST_LIST = (
     # Internal API
     'test.grab_api',
     'test.grab_js',
 )
 
+GRAB_EXTRA_TEST_LIST = ()
+
+# *******************************************
+# Kit Tests
+# * All Grab tests with enabled Kit Transport
+# * Kit Selectors
+# *******************************************
+
 KIT_TEST_LIST = list(GRAB_TEST_LIST)
+KIT_TEST_LIST += [
+    'test.selector_kit',
+]
 for name in (
     'test.grab_proxy',
     'test.upload_file',
 ):
     KIT_TEST_LIST.remove(name)
 
+KIT_EXTRA_TEST_LIST = list(GRAB_EXTRA_TEST_LIST)
+KIT_EXTRA_TEST_LIST += [
+    'test.kit_live_sites',
+]
+
+# ************
+# Spider Tests
+# ************
+
 SPIDER_TEST_LIST = (
     'test.spider',
     #'tests.test_distributed_spider',
     'test.spider_misc',
 )
 
-GRAB_EXTRA_TEST_LIST = ()
-
-KIT_EXTRA_TEST_LIST = GRAB_EXTRA_TEST_LIST
-
 SPIDER_EXTRA_TEST_LIST = (
     'test.spider_mongo_queue',
     'test.spider_redis_queue',
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.