日出而作,日落而息

还未发布过话题
  • 不好意思 因为是 html 代码 自己显示成这样的 我还是删了吧 确实太难看

  • 对的

  • 执行文件 test_apiserver_v2.py,运行至启动 flask mock server 时,报如下错误,能帮忙看下是哪里的问题吗?

    Traceback (most recent call last):
    File "", line 1, in
    File "E:\Program Files\python3\lib\multiprocessing\spawn.py", line 105, in spawn_main
    exitcode = main(fd)
    File "E:\Program Files\python3\lib\multiprocessing\spawn.py", line 115, in _main
    self = reduction.pickle.load(from_parent)
    EOFError: Ran out of input
    Failure
    Traceback (most recent call last):
    File "E:\Program Files\python3\lib\unittest\suite.py", line 163, in _handleClassSetUp
    setUpClass()
    File "E:\Program Files\JetBrains\PyCharm Community Edition 2017.1.1\project\ApiTestEngine-master\test\base.py", line 21, in setUpClass
    cls.api_server_process.start()
    File "E:\Program Files\python3\lib\multiprocessing\process.py", line 105, in start
    self._popen = self._Popen(self)
    File "E:\Program Files\python3\lib\multiprocessing\context.py", line 223, in _Popen
    return _default_context.get_context().Process._Popen(process_obj)
    File "E:\Program Files\python3\lib\multiprocessing\context.py", line 322, in _Popen
    return Popen(process_obj)
    File "E:\Program Files\python3\lib\multiprocessing\popen_spawn_win32.py", line 65, in __init
    _
    reduction.dump(process_obj, to_child)
    File "E:\Program Files\python3\lib\multiprocessing\reduction.py", line 60, in dump
    ForkingPickler(file, protocol).dump(obj)
    TypeError: can't pickle _thread.lock objects

  • OK,了解了,还有个问题:
    假设要遍历测试某个参数不同值(如 password),你这边是如何实现的?

  • 测试数据是如何存放的,与编写的用例一起存放于同一份 yaml 文件中吗

  • 你好 我在看你共享的源码 有个问题 我没看明白 下面几个文件有啥区别

    demo_import_functions.yml demo_template_separate.yml demo_template_sets.yml
    设计初衷是什么 多谢

日出而作,日落而息