Skip to content
  • Categories
  • Tags
  • Popular
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (Flatly)
  • No Skin
Collapse

Odoo 中文社区

  1. Home
  2. Categories
  3. Odoo 系统测试
  4. 有谁试过成功运行pytest-odoo (pytest plugin to run Odoo tests)的吗?

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

Scheduled Pinned Locked Moved Odoo 系统测试
1 Posts 1 Posters 652 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Q Offline
    Q Offline
    qmy8857
    wrote on last edited by
    #1

    大家好,请教:有谁试过成功运行以下的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
    0

    • Login

    • Don't have an account? Register

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Tags
    • Popular
    • Users
    • Groups