• 好的,我加一个。

  • 方便单独联系下么

  • 我现在是单独执行 rebot,已经 pybot 也报错了。各种诡异。
    另外,我还有一台 Ubuntu 16.04 的机器,之前单独命令行下执行 pybot 1.txt 都正常的,最近执行这个命令还报 “Execution stopped by user”...

    robot 
    Traceback (most recent call last):
      File "/usr/local/bin/robot", line 4, in <module>
        __import__('pkg_resources').run_script('robotframework==3.0.2', 'robot')
      File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources/__init__.py", line 742, in run_script
        self.require(requires)[0].run_script(script_name, ns)
      File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources/__init__.py", line 1667, in run_script
        exec(code, namespace, namespace)
      File "/Library/Python/2.7/site-packages/robotframework-3.0.2-py2.7.egg/EGG-INFO/scripts/robot", line 4, in <module>
        from robot import run_cli
    ImportError: cannot import name run_cli
    
    pybot --help
    Traceback (most recent call last):
      File "/usr/local/bin/pybot", line 4, in <module>
        from robot import run_cli
    ImportError: cannot import name run_cli
    
  • 没看出什么问题,您看看。我是 Mac 自带的 python

    >>> import wx
    > /usr/local/lib/wxPython-unicode-2.8.12.1/lib/python2.7/site-packages/wx-2.8-mac-unicode/wx/__init__.py(20)<module>()
    -> print sys.path
    (Pdb) print sys.path
    ['', '/Library/Python/2.7/site-packages/requests-2.13.0-py2.7.egg', '/Library/Python/2.7/site-packages/pip-9.0.1-py2.7.egg', '/Library/Python/2.7/site-packages/robot-20071211-py2.7.egg', '/Library/Python/2.7/site-packages/robotframework-3.0.2-py2.7.egg', '/Library/Python/2.7/site-packages/robotframework_ride-2.0a1-py2.7.egg', '/usr/local/lib/wxPython-unicode-2.8.12.1/lib/python2.7/site-packages', '/usr/local/lib/wxPython-unicode-2.8.12.1/lib/python2.7/site-packages/wx-2.8-mac-unicode', '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python27.zip', '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7', '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-darwin', '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-mac', '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-mac/lib-scriptpackages', '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-tk', '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-old', '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload', '/Users/lazybone/Library/Python/2.7/lib/python/site-packages', '/usr/local/lib/python2.7/site-packages', '/Library/Python/2.7/site-packages', '/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python', '/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/PyObjC', '/usr/local/lib/wxPython-unicode-2.8.12.1/lib/python2.7']
    (Pdb) import wx
    
  • 这个范围有点广,涉及点比较多,你需要考虑的地方也很多,比如涉及到高并发下,CPU,内存优化,查询效率优化。
    1、考虑这个测试,你可以单模块的拆开分析,单点测试,然后在集成测试接口。
    2、例如搜索模块里面就存着数据中心推送的线路,这个是有临时缓存数据,还是每次搜索都会单独调用等等。
    3、搜索模块是否涉及到多条件搜索,数据量对搜索影响等。
    找研发一起把功能点梳理梳理吧。