We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Think this might be of interest...
Pros:
pytest-xdist
pytest-parallel
Bonus:
Cons:
Mini example of 4 tests:
import pytest import requests @pytest.mark.parametrize("username, password, expected_result", [('rods','rods',200), ('','',401), ('not','valid',401), ('a'*200,'b'*200, 401)]) def test_post_basic_login(username, password, expected_result): auth_url = 'http://127.0.0.1:9000/irods-http-api/0.1.0/authenticate' res = requests.post(auth_url, auth=(username, password)) # Got a good code, assume we passed... assert res.status_code == expected_result
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Think this might be of interest...
Pros:
pytest-xdist
for parallel testing, (pytest-parallel
supports parallel & concurrent, but it's not maintained...)Bonus:
Cons:
Mini example of 4 tests:
The text was updated successfully, but these errors were encountered: