Odoo 中文社区

    • Register
    • Login
    • Search
    • Categories
    • Tags
    • Popular
    • Users
    • Groups

    Odoo中文社区可以通过以下两个域名访问:shine-it.net , odoo.net.cn

    由于系统升迁的原因,本论坛部分较早期的内容存在格式和链接损坏失效的问题,并非本论坛系统本身的缺陷,望谅解

    本社区没有维护任何QQ群讨论组,任何与本社区同名的QQ群讨论组的言论与本社区无关!

    开发人员可以登录gitter讨论组: http://gitter.im/odoo-china/Talk, 需要github账号

    如果您登录系统碰到问题,请在微信公众号留言:

    有谁试过成功运行pytest-odoo (pytest plugin to run Odoo tests)的吗?

    Odoo 系统测试
    1
    1
    149
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Q
      qmy8857 last edited by

      大家好,请教:有谁试过成功运行以下的pytest-odoo (pytest plugin to run Odoo tests)的吗?
      我通过pip install pytest-odoo安装后,不知道该如何运行?请指点、指点该如何才能让它运行起来,谢谢!
      https://github.com/camptocamp/pytest-odoo

      看了以下博文,我很好奇Odoo能否用pytest测试用例来做测试?
      https://www.it610.com/article/1298490287340986368.htm
      都说Pytest框架比Unittest好用太多,你信吗?

      以下博文的总结还说:pytest更加方便快捷,用例格式简单,可以执行unittest风格的测试用例,无须修改unittest用例的任何代码,有较好的兼容性。
      https://www.songqinnet.com/article/1276
      Python测试框架之unittest和pytest

      1 Reply Last reply Reply Quote 0
      • First post
        Last post