Ke.*_*Ke. 5 parallel-processing selenium docker selenium-grid2 xdist
I'm trying to use these all things together to run parallel tests in a headless chrome:
Docker, Selenium, Pytest
However, I'm wondering where it makes sense to run the parallel part of the system?
Docker can do this (using selenium grid). Both these can be used to run parallel (and distributed) selenium tests. e.g.
https://github.com/elgalu/docker-selenium
https://github.com/zalando/zalenium
Also Pytest has its own way of running parallel tests (using pytest-xdist) e.g.
http://pytest.org/dev/xdist.html
Would it be easier to run 10 parallel pytest-xdist than running 10 docker containers?
I would be grateful to find out the advantages/disadvantages are for each.
另外,知道如何一起使用这些东西吗?这方面的信息似乎非常少。
小智 0
您创建了您需要/想要的容器,然后您将知道容器的 xdist IP,如果您需要 UI 测试,那么 pytest 有 pytest-splinter,如果您需要 bdd 场景,您可以使用 pytest-bdd。
| 归档时间: |
|
| 查看次数: |
1653 次 |
| 最近记录: |