R
R
R3VERS3R_20202021-10-13 07:50:28
Python
R3VERS3R_2020, 2021-10-13 07:50:28

How to set up automatic start of Pytest in Jenkins?

In general, I have written an autotest for an api that I manually run through pytest. Now I need to create a job in Jenkins that will run these tests at the right time. Can anyone help?
Code example:
def test_update_mess():
request = {
"messages": [id],
"op": "add",
"flag": "read"}
result = client.update_message_flags(request)
assert result['result'] == 'success'

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question