Skip to content
New issue

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

is @pytest.mark.dependency() can be used for class level? like API test class depends on BVT test class... #70

Open
baiyyee opened this issue Sep 11, 2022 · 0 comments

Comments

@baiyyee
Copy link

baiyyee commented Sep 11, 2022

Just wonder if @pytest.mark.dependency() is can be used for class level?

import pytest

@pytest.mark.dependency(name="test_bvt")
class TestBVT:
    pass

@pytest.mark.dependency(depends=["test_bvt"])
class TestAPI:
    pass
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant