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

classify tests #40

Closed
yunchipang opened this issue Apr 25, 2024 · 0 comments · Fixed by #62
Closed

classify tests #40

yunchipang opened this issue Apr 25, 2024 · 0 comments · Fixed by #62

Comments

@yunchipang
Copy link
Owner

use class to group tests. for exmaple:

# tests/test_trainings.py

class TestRegistration:
    def test_register_training_successful(self):
        # insert code here...

    def test_register_training_full(self):
        # insert code here...

    def test_register_training_already_registered(self):
       # insert code here...
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

Successfully merging a pull request may close this issue.

1 participant