python - Run a single test with multiple configs in parallel using pytest -
I have to run against the different hosts in a single test in parallel. Currently, I am calling a bunchof pytest.main (). But it has not run in parallel and the results are not collected. This is the content of runtest.py:
pytest.main ('- conf = c1.txt') pytest.main ('- conf = c2.txt') pytest.main ('- -conf = c3.txt ') I have only one test_host.py that looks like this:
test_pinghost (conf): # < / Code> Ping Hosts in Configure Is there a way to run it in parallel and gross results? PS: Confidential files include host IP
Please use it to run tests in many processes. Enables Pitext / Machine
Comments
Post a Comment